Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Trial Account API clie...
Sales forum
Suggested answer

Trial Account API client_id / secret

Posted on by 5

I managed to make it to the Power Platform admin center and create an environment but I can't figure out how to get a client_id and secret. I registered in azure to get a client_id and secret but it's erroring on login because the azure account isn't the same as the power platform. I've looked at quite a few forums and docs at this point. Please help. 

Categories:
  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    RE: Trial Account API client_id / secret

    Hey Michael. 

    What are you trying to achieve?  Client+Secret is usually required and generated on Azure, to create a Service Principal (an account that will be used to access resources in another app, like dynamics/powerPlatform)

    on https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#register-an-application-with-azure-ad-and-create-a-service-principal you have the information on how to do this.  Follow steps

    a) Register an application with AzureAD and create a service principal

    b) Assign a role.  ON the "Role", search for the ones associated with PowerPlatform/Dataverse

    c) Set up authentication.  ON this point, follow option 3 to generate a Secret.  Please, remember to save the secret as once you move away, you won't be able to see it again.

    d) Once this is done, go to PowerPlatform admin center, on the environment of your choise and add an Application User.... should introduce the ClientiD (APplicationID) from azure.

    Again, this is for Application User (or Service Accounts).  For standard users, the procedure is different.

    Regards,

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,246 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,041 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans