Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

How to use a custom user for Microsoft Entra ID integration

Posted on by 101
Hi everyone,

I have an external application that uses the OData API via Azure AD aka Entra ID. According to documentation online, I need to register it in /System administration > Setup > Microsoft Entra ID applications/. The problem I have here is that for the User ID instead of specifying the /Admin/ user, I want to use a new user that was created for the purpose of this integration, but when I use that user, my API calls fail with this 403 error:
 
{
/Message/: /Please verify that the user is valid and set up correctly./
}
 
What permissions should I assign my new user such that it is able to be used to register the application in Microsoft Entra ID applications?

 
  • Verified answer
    Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    How to use a custom user for Microsoft Entra ID integration
    Hi tl2022,

    You can assign roles by going to System administration - Users
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    How to use a custom user for Microsoft Entra ID integration
    Hi tl2022,

    There is documentation about creating users. On the same form and on the form Assign users to roles, you can manage which roles to add to users. Create new users - Finance & Operations | Dynamics 365 | Microsoft Learn  
  • tl2022 Profile Picture
    tl2022 101 on at
    How to use a custom user for Microsoft Entra ID integration
    Hi, thanks for the replies. Does anyone know where in the system I can configure the necessary roles for the user, and which roles are required? I cannot find any information online.
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 6,347 Super User 2024 Season 2 on at
    How to use a custom user for Microsoft Entra ID integration
     
    Did you try to give the user that you want "System Administrator" security role?
     
     
     
    Regards,
    Waed Ayyad
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    How to use a custom user for Microsoft Entra ID integration
    Hi,
    To resolve the issue, you need to ensure that the custom user has the necessary roles assigned. In F&O, roles define the permissions a user has. Common roles for API integration include roles related to data entities, read access to tables, and execute permissions for services.
    Best regards,
    Kevin
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    Alireza Eshaghzadeh 12,189 Super User 2024 Season 2 on at
    How to use a custom user for Microsoft Entra ID integration
    Hi,
    You need to associate the client ID with a user ID created for your business requirements. This user, such as a service account user, should have the necessary security permissions to fulfill the business requirements and ensure adequate access. Therefore, the security role that you delegate to the user need to have adequate access.
  • Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    How to use a custom user for Microsoft Entra ID integration
    Hi Community User,
     
    What is the role for this new user? Did u try giving this user a sys admin role and see if it works?
     
    Thanks,
    Layan Jweihan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans