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 / New PowerApp and Azure...
Power Apps
Unanswered

New PowerApp and Azure Active Directory

(0) ShareShare
ReportReport
Posted on by

Hello,

 

We have a requirment to create a Role based (Admin+User - from Azure Active Directory) PowerApp which when logged in will show diffrent screens based on their privilleges.

 

Questions

 

1) Is the requirment possible ??

2) We started using our Organisation's Office365 license to start exploring powerApps, but what we want is to setup a new Azure ActiveDirectory and start devloping powerapps with the new Azure AD, we were able to setup new AD, but we are not sure on how to proceed to start working with power apps using the credentials of the users inthe new Azure AD, can someone explain or point me to the documentation on how to do this.

 

Much appreciated.

 

Thanks -M

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    on at

    Hi madhugilla,

     

    Currently I don't think PowerApps would be able to generate different screens based on the logins with the same app.

    Role Level Security configured at the data source should be able to use, such as the SQL server.

    So if we have pages that are configured with some data which the current login don't have permission to view, then it will show errors. Check Data sources in PowerApps.

    For question 2, you may begin from the article below:

    PowerApps in your organization Q&A

    I am not sure how you setup the new Azure AD, would you please share some details?

     

    If you have any further questions, please feel free to post back.

    Regards

     

     

     

     

  • Sru Profile Picture
    on at

    Hi Team,


    Is there a way to read users data by connetcing to Azure AD? In sharepoint we have people picker columns. If i have to build a normal application where i want user information from AD how to achive this functionality?

    Are there any AD connectors ?

     

    Thanks,
    Sru

  • CU11011415-0 Profile Picture
    472 on at

    Hi Sru,

    No there is no AD connector, you would need to create your own.

    You may be able to use the Office365Users Connector to surface a users information instead.

     

    Hope this helps

    - Keith 

  • carlosag Profile Picture
    on at

    The way that this can be achieved is by using the "User()" function that will return the current user. What a lot of apps do is use "User().Email" and you can use that to query maybe a SQL Table or a CDS table that returns the "Application Roles" that the user has. For example I would "ClearCollect" those roles into a local collection for ease of use and performance, and then in the app you can LookUp in that collection to check for a role, and determine if it should Navigate to a different screen, or show different sections of the page or not.

     

  • Community Power Platform Member Profile Picture
    on at

    Adding to this thread to help future proof it - there is an Azure AD Connector in preview at time of writing. Check https://www.carlosag.net/PowerApps/Connectors/Azure-AD for currently known properties.

  • AndiRodi Profile Picture
    133 on at

    Hi, 

    I have an important question for my duty.

    if I'd want to create an app that allows me to show users only a certain amount of data according to the precise access permissions, how can I do?
    I mean. In the case where: Jhon is a user who belongs to the "Sales" group. He has a role as a simple seller within thet group and can only look up the reports related to his contracts. Mark is the manager of the "Sales" group. He can look up all sales reports, so all contracts of all sellers.

    How can i tell to the app to limit the data that can be viewed from Jhon related to his permissions by the organization? (AAD group security? O365groups? other ways?)

     

    Thx

    Andi

    Andi

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 739 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 268

Last 30 days Overall leaderboard