I have a logic apps job working with D365. At one step it should access the Projects entity and select a record there, but I get the 401 Unauthorized access error. This job is successfully working on another instance, so something is wrong with access, not the code. I checked the application registration and Azure AD applications setup, the LogicAppsIntegrations and LogicApp are registered there. Also, there is an api connection for the user setup as system admin in D365. What else should I check to fix this error?
Can you check the tenant ? VM in which Ax is installed has to be in the same region /tenant .
Also enable 'Allow Multiple organization' option for your azure application