web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Offline Authentication Admin Email D365FO

Sheikh Sohail Profile Picture Sheikh Sohail 6,125


Most of time my team members complain  me that they are getting two type of errors randomly.


  1. Authentication error while browse the table from Visual Studio.
  2. Exception occurred on the metadata service on client or server – error: forbidden. While setting report data source as query the above error occurred 


Point-1 reference screenshot


Point-2 reference screenshot


We can resolve above both types of error in just few steps.

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.

Step-2 In my case administrator@contosoax7.onmicrosoft.com was mentioned. So i replace with the email i was using.

reference screenshot.




Step-3 Sign In to Visual Studio with your account.

Step-4 Close Visual studio.
Step-5 Restart IIS.
Step-6 Restart Batch 
Step-7 Open Visual Studio as Administrator
Step-8 Verify your issue again. in my case both issues resolved.


Please feel free to contact me if you are facing any issue to implement this blog.



This was originally posted here.

Comments

*This post is locked for comments