Forum Discussion
Configure connection to external data in Sharepoint
First of all congratulations on the blog, but I couldn't get past the xml permission part
Failing to create.
leandrosg : It seems you need tenant level permission to trust this app. This granting can only be done via the appinv.aspx page on the tenant administration site. You can reach this site via https://tenantname-admin.sharepoint.com/_layouts/appinv.aspx. Once the page is loaded add your client id and look up the created principal.
Use below XML to get the full control permission for the APP.
When you click on Create you'll be presented with a permission consent dialog. Press Trust It to grant the permissions
- leandrosgJun 06, 2020Copper Contributor
I did all the steps, but it didn't work.
When I am going to generate the Sharepoint api website it presents the following error:
"error_description": "Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown."- Ashish_KohaleJun 07, 2020Iron Contributor
leandrosg : Check the API, it should be this format: https://<sitename>.sharepoint.com/_api/web?$select=Title
You have used _layout/15/, should not be part of API URL.
- leandrosgJun 08, 2020Copper Contributor