Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

Custom Connector and end user credentials

(0) ShareShare
ReportReport
Posted on by 2

Hello there,

 

I have a very fundamental question here. Let me start with the situation:

 

1. I have developed a custom connector and a connection using oAuth 2.0

2. Shared the connector and connection

3. Suppressed the consent pop-up using powershell method as described in the documentation

4. Used the connection in simple powerapps app.

4. All this is done with an admin account.

 

Now I am switching to a normal user account. Trying to use the app. App is working fine, but behind the screen what is see, it is using the admin credentials to call my backend API. That is a compliance issue, as we would like to know who is the use that called the api.

 

Is there a way to pass the current user credentials all through the interaction, end-to-end. This means, I would like to suppress the consent pop-up, but would like current user credential be used for calling the API. 

 

Thank you!

Categories:
  • asitjena Profile Picture
    asitjena 2 on at
    Re: Custom Connector and end user credentials

    Microsoft Team, Please let me know if you have any solution here. I would refrain from making an app with bad UX and same time using author's credentials under the hood. If you don't have any solution, unfortunately we have to drop powerapps from our road map for the strategic initiative.

     

     

  • Re: Custom Connector and end user credentials

    If you want your API to be invoked using individual user's credentials, you should not suppress the consent popup. That way when users will have to sign in using oAuth when they open the app for 1st time and a separate connection will be created for each user. 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard

Featured topics