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 Automate / connect to lists withi...
Power Automate
Unanswered

connect to lists within a sharepoint appweb

(0) ShareShare
ReportReport
Posted on by 652

Hi

 

Trying to get a connection to lists in an appweb within a  sharepoint hosted app and I get the follwoing error when I enter in the url setting up a sharepoint connection

 

Could not retrieve values. {"error_description":"Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown."} 

 

I have no issue connecting to lists in the host web ( a regular team site)  of the SP hosted app

 

I have tried to manually create a connection in the Manage->Connection under the powerapps site with no luck.  Looks like an authentication issue within the appweb. 

 

 Thinking the issue is because the host web uses AAD auth and SP hosted apps use ACS.

 

This post may provide the necessary code bits if we have to create a custom connector for appwebs...

 

http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/

 

does anyone have any insights on this?

 

 

Thx!

 

Categories:
I have the same question (0)
  • rekenliu Profile Picture
    on at

    Based on my test, lists created within a SharePoint Hosted App(now named SharePoint Add-in) cannot be selected in PowerApps. Manually enter the URL encountered the same error as you saw. Basically the SharePoint hosted add-in URL format looks like https://yourdomain-8efd32da51497a.sharepoint.com/. Please notice that this is a different domain from your SharePoint sites, so the token generated in PowerApps may not be used for this domain. SharePoint iteself uses the cross domain library(CDL) to deal with the cross domain authentication issue.

    It's not difficult to understand that the provider hosted SharePoint add-ins can also not work with PowerApps, because it is totally a separate web app, and use ACS as a trust broker with SharePoint. 

     

    Thanks,
    Reken Liu 

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard