D365: "The user is not a member of the organization" error while connecting to CE
Views (5672)
Recently, we were working on connecting to CE to do some CRUD operation using Azure function. We were using Client ID(Application ID) and Client Secret of the app registered on Azure Active Directory.
We had provided the necessary API(Dynamics CRM) Permission (delegated “user_impersonation”) to the app.
While running the Azure function, we were getting the error message “The user is not a member of the organization” when we were connecting to CE.
After investigating the issue for some time, we found that we had missed one important step of creating Application User back in CE with the Application ID(Client ID) of the app.
Creating the Application User with the Application ID(Client ID) fixed the issue.

Hope it helps !!
This was originally posted here.
Comments
-
D365: "The user is not a member of the organization" error while connecting to CEGood morning!Thanks for this post.Where can we edit the APP ID for the user? I am trying in D365 and I am not able as it is blocked.Thank you so much!
*This post is locked for comments