Monday, October 22, 2018

AX Metadata Error -- Forbidden


AX Meta Data Error – Forbidden


Error: Exception occurred on the metadata service on client or server – error: forbidden.

While setting report data source as query the above error occurred.


Solution :
To Solve the above issue, follow the steps as mentioned.
Step 1:
 Check for the “OfflineAuthenticationAdminEmail”  key in file “DynamicsDevConfig” in AOSService -> PackagesLocalDirectory->Bin to be set to  the correct login email that you are using.
In my case it was set to someone@somewhere.com  which then was change to the correct user.



Step 2:
Restart IIS by running command prompt as administrator and typing the issreset command.

Step 3:
Restart Microsoft Sql Server Reporting Services through the Service manager i.e Services.msc.

Step 4:
Restart the  visual studios and sign in with the user email which was set in the DynamicsDevConfig in step 1.




No comments:

Post a Comment