Exception occurred on the metadata service on client or server
Microsoft Dynamics 365 for Operations in VM.
- In Visual Studio 2015, I have created a new project and trying to customize an existing report.
- 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.
- Select any Query and click next, I get the error "Exception occurred on the metadata service on client or server".
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