web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Authentication in Powe...
Power Apps
Answered

Authentication in Powerapps

(0) ShareShare
ReportReport
Posted on by 4

Where and how does authentication happen when we login into microsoft cloud using my office credentials?

When I use my office email to login into powerapps what is the authentication process.

Do we have a copy of our AD(within our network) synced periodically to a copy in microsoft cloud?

Can we not maintain our AD copy in microsoft cloud and authenticate our credentials within our network and still be able to login to powerapps in cloud ?

 

Thanks

 

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @MKR17 ,

    Currently, within most of Microsoft Cloud services, it use Azure Active Directory (Azure AD, Microsoft's cloud identity service) as the authentication way.

    More details about authentications within Office 365 cloud service, please check the following article:

    https://docs.microsoft.com/en-us/office365/enterprise/about-office-365-identity

     

    When you sign in PowerApps first time, it would ask you to provide your email address, then password. When you click "Submit" button, it would send a http request to Azure Active Directory (Microsoft's cloud identity service), Azure Active Directory check the credentials you passed, if correct, return a Access_Token back to your client and your Client store the Access_Token within your browser.

    After that, your client would send another http request along with the Access_Token to Azure Active Directory server, Azure Active Directory server check the Access_Token, if match, you would be authorized with permisson to access PowerApps.

     

    Next time, you sign in PowerApps, you do not need to provide username (email) and password again, you could send an http request to Azure Active Directory server along with the Access_Token directly.

     

    If you do not maintain our AD copy in microsoft cloud and authenticate our credentials within our network, I afraid that you could not able to login to PowerApps in cloud.

     

    Best regards,

  • Marco1992 Profile Picture
    6 on at

    Hi @v-xida-msft , 

    Your explanation of the authentication flow was very helpful. But I was wondering if there is any possibility to pass an Access_Token to my PowerApp. 

    My Power App runs in an mobile flutter application, where the user is already authenticated and has a valid token. The Power App runs in a web view (iFrame) and I don´t want the user to sign in again in the power app.

     

    And is there something like an app registration in azure ad for a power app? I  saw it has an application id, but I could´t find it in our azure ad..

     

    Thanks in advance!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard