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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Connecting Canvas App ...
Power Apps
Answered

Connecting Canvas App to Active Directory

(0) ShareShare
ReportReport
Posted on by 18

I have a login screen (using username and password) on a canvas app. I want to verify the username and password against domain Active Directory. If this is possible, how to achieve it?

Matsepo_0-1695706205479.png

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,479 Super User 2025 Season 2 on at

    Hi

     

    for security reasons I would not. If you need to validate a user I would do it differently. it’s just not a compliant way to do it 

    May I ask what you are looking to achieve and  maybe I can help you with a more secure way? 

    and don’t forget they had to sign into the app so their credentials are validate. 


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Matsepo Profile Picture
    18 on at

    Thanks.

     

    The client wants to use the same credentials used on AD, so that they don't have many different passwords. 

  • Michael E. Gernaey Profile Picture
    53,479 Super User 2025 Season 2 on at

    When you log into the canvas app it uses ad auth. What other auth are they using for the app if not ad auth? 

    What benefit is there to try to get someone password to fake log them in just to validate. 

    super insecure. 

  • Verified answer
    timl Profile Picture
    36,415 Super User 2025 Season 2 on at

    @Matsepo 
    As @FLMike says, it is not possible to connect to a domain Activity Directory. And even if it were, collecting clear text usernames and passwords is not secure.

    If the requirement is to use the same credentials used on AD so that the user doesn't have many different passwords, the answer is to use Active Directory Federation Services and to then rely solely on AAD authentication for access to the Power App.

    https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/deployment/how-to-connect-fed-azure-adfs

     

  • Matsepo Profile Picture
    18 on at

    Thank you so much. 

  • Michael E. Gernaey Profile Picture
    53,479 Super User 2025 Season 2 on at

    Heya.. i answered 😛 lol no love for the answerer hehe

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard