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

Community site session details

Session Id : FA/GdXlUqglr0/3v5Sw4v1
Power Apps - Building Power Apps
Answered

Apps needing permission to use data connectors

Like (0) ShareShare
ReportReport
Posted on 7 Dec 2021 13:00:03 by 753

After creating my first app, I shared the app with an end user. That user clicked on the link in the email they received and they were prompted with the following:

 

Almost there...

<App Name> needs your permission to use the following. Please

allow the permissions to proceed.

 

SharePoint

User's email address                                 Switch account

Signed in View permissions

 

Azure AD

Connection by Microsoft                          Sign in

 

 

Office 365 Users

User's email address                                 Switch account

Signed in View permissions

 

 

I am not sure why the end user is prompted to allow the use of connectors as that should be something that we as developers setup. As a developer, we give permissions to what they need to access and they can just access the resources. This is the first time that I have seen an end user having to allow for something that, I as a developer, have already granted them access to. Is there a way to keep this popup form showing up and just allowing them direct access into the app?

  • Community Power Platform Member Profile Picture
    on 08 Apr 2022 at 08:24:40
    Re: Apps needing permission to use data connectors

    Unfortunately, no, there's no way to do this. For my scenario, I reverted back to a less efficient option with using Forms and a Flow in the background.

  • r_voyager Profile Picture
    130 on 07 Apr 2022 at 17:07:31
    Re: Apps needing permission to use data connectors

    Hi @Anonymous I'm facing the same issue with Azure AD connector, you find any solution?

  • Community Power Platform Member Profile Picture
    on 11 Feb 2022 at 17:04:26
    Re: Apps needing permission to use data connectors

    Thanks for your quick reply, Greg. Unfortunately, I'm stuck with using Azure AD to manage my users in this instance, so will look for another option. Thanks!

  • Greg27 Profile Picture
    753 on 11 Feb 2022 at 16:59:04
    Re: Apps needing permission to use data connectors

    @Anonymous 

    I stopped using the Azure AD connector and use the Office365Users and Office365Groups. I also ran the PowerShell script and it seems to have worked.

    Would you let me know if it works for you?

  • Community Power Platform Member Profile Picture
    on 11 Feb 2022 at 16:53:24
    Re: Apps needing permission to use data connectors

    I'm currently trying to do the same - did you manage to solve this issue at all? Thanks

  • Pstork1 Profile Picture
    67,165 Most Valuable Professional on 09 Dec 2021 at 22:46:27
    Re: Apps needing permission to use data connectors

    Posting it as a new question will get you more responses.  But I don't know any way to get around the prompt other than what I've already mentioned.  When they click on the prompt does it actually prompt them to login with a userID and password?  Or just log them on in the background using SSO?  I guess I'm expecting the second to the be case and I don't think there is any way around that.

  • Greg27 Profile Picture
    753 on 09 Dec 2021 at 19:31:56
    Re: Apps needing permission to use data connectors

    The PowerShell command worked perfectly, but it still comes up with the Azure AD connector because users are not authenticated. The app doesn't seem to recognize that we are using SSO. Should I create a different question to see if there is a way that we can keep Power Apps from showing the Sign in button on the Allow pop up:

     

    Azure AD

    Connection by Microsoft                          Sign in

     

    If Power Apps works with SSO, do I need to configure anything else? If this should be a new question, I will go ahead and close this question and create the new one.

  • Pstork1 Profile Picture
    67,165 Most Valuable Professional on 07 Dec 2021 at 19:23:00
    Re: Apps needing permission to use data connectors

    The Popup should only happen the first time the user runs the app.  Since you are using SSO they should be able to just click on the prompt and it will log them in.  But whether they are logged in or not the Popup will come up the first time any user runs the app.  As mentioned in a previous post you can use PowerShell to auto accept the prompt and not display the popup. But that is the only way to avoid the prompt.

  • Greg27 Profile Picture
    753 on 07 Dec 2021 at 19:05:43
    Re: Apps needing permission to use data connectors

    I understand that users need to login. That's totally expected. They have access to write to the SharePoint List that the app writes to and, if they are using the app, they need to pull in names and email addresses from Azure/Office 365. The user that got the popup that asked them to allow access to SharePoint, Azure AD, and Office 365 Users was already authenticated to Azure AD as we use SSO with Azure for almost all of our systems. If they were logged into Azure AD, is there a reason she is being asked to login again? Is there a way to tie SSO into our Power Apps?

  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on 07 Dec 2021 at 13:28:32
    Re: Apps needing permission to use data connectors

    If the connection needs to use the user's credentials to connect to the data source then the user needs to give consent. This is normal behavior in apps that use these type of connectors. There are some connectors that use implicit sharing where a credential is stored in the connection, so it doesn't use the user's credentials and therefore the user doesn't have to give consent.  You can bypass the user consent for an app by using the PowerShell command Set-AdminPowerAppApisToBypassConsent .

     

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2