Saturday, 5 December 2020

Exception occurred on the metadata service on client or server :D365

Exception occurred on the metadata service on client or server 


Exception occurred on the metadata service on client or server in Dynamics 365 Finance and Operations.

Problem :

Microsoft Dynamics 365 for Operations in VM. 

  1. In Visual Studio 2015, I have created a new project and trying to customize an existing report.
  2. I open the report. Go to the dataset and select "Query" as the "Data Source Type" in the properties window. Go to the Query property and click "..." to open the dialog. 
  3. Select any Query and click next, I get the error "Exception occurred on the metadata service on client or server".
Exception occurred on the metadata service on client or server in D365,D365 Visual Studio 2015 report dataset query,Fix metadata service d3365 reportssrs,



Solution

We have solved the problem.

When try to change Dataset on SSRSReports, VS try to call the following webservice https://yourURL.cloud.onebox.dynamics.com/Services/MetadataService/

with AuthUser administrator@contosoax7.onmicrosoft.com

 This settings is present in file C:\AOSService\PackagesLocalDirectory\Bin\DynamicsDevConfig.xml at the key 

<OfflineAuthenticationAdminEmail>administrator@contosoax7.onmicrosoft.com</OfflineAuthenticationAdminEmail>

 CHANGE TO BELOW

<OfflineAuthenticationAdminEmail>PUT YOUREMAIL HERE</OfflineAuthenticationAdminEmail>

We have changed this settings with AAD user, reopen VS and all works fine.


Thanks,

Vikas Mehta.



No comments:

Post a Comment

AZURE INTERVIEW QUESTIONS AND ANSWERS

AZURE INTERVIEW QUESTIONS AND ANSWERES 2021 2. What is cloud computing? Explanation:  It is the use of servers on the internet to “store...