function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
louisa barrett 7louisa barrett 7 

Sharepoint files connect using Azure

Hi, I'm getting an error at the point of saving the External Data Source of Remote_Error: invalid_Resource. When I press save, it takes me to the 365 sign in page, I enter my details and then get the following error Remote_Error: invalid_resource.
Any help would be appreciated
Neena.BainsNeena.Bains
Does the URL of your site have a dash in it?

For example:
https://companyname-my.sharepoint.com

If so, you need to encode it with %2D in the Authorize Endpoint URL on the Auth Provider.

For example:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https%3A%2F%2Fcompanyname%2Dmy.sharepoint.com&prompt=login