Showing posts with label OfflineAuthenticationAdminEmail. Show all posts
Showing posts with label OfflineAuthenticationAdminEmail. Show all posts

Offline Authentication Admin Email D365FO


Offline Authentication Admin Email D365FO



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


  1. Authentication error while browsing 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 both types of errors in just a 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 it 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 were resolved.


Please feel free to contact me if you are facing any issues implementing this blog.


Support Faryal's Cusine


Virtual Fields Vs Computed Fields

  Virtual Field: A virtual field in D365FO is a field that doesn't have a direct representation in the database. It's a field that y...