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 !!
One thought on “D365: “The user is not a member of the organization” error while connecting to CE”