AADSTS500011 - Error 400 while adding a folder in Sharepoint library

Hello everyone!

While building one of my scenarios with Sharepoint library it ended with the following error in make.com:

The operation failed with an error [400] AADSTS500011: The resource principal named https://my.microsoftpersonalcontent.com/ was not found in the tenant named ORG. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. Trace ID: d06de1a0-df97-4a5d-b617-bfee01c63a00 Correlation ID: 481e208d-80f5-44bb-9454-f565658a4f93 Timestamp: 2024-07-13 11:46:13Z

No need to say that scenario failed.

After spending almost 2 days it turned out that in this particular case it was related to Microsoft settings.

Great answer!

You can post your solution separately below.

This will allow you to β€œmark” it as an answer to close/resolve this thread.

samliew – request private consultation

Join the Make Fans Discord server to chat with other makers!

:white_check_mark: Solution to my particular case: (You must have admin rights in both Microsoft365 and Sharepoint and following the required Sharepoint site). In Microsoft365 navigate to Admin β†’ All admin centers β†’ Microsoft Entra β†’ Applications β†’ Enterprise Applications β†’ All applications β†’ Make (or Integromat) β†’ Owners β†’ Add. On this stage you need to add the same account you use for creating a connection in your scenario via make.com. Then navigate to Users and groups, and double check if the same account is added with Object type β€œUser”.

In your case you might also try to google some info related to App registrations in Microsoft365 (in Office365 navigate to Admin β†’ All admin centers β†’ Microsoft Entra β†’ App registrations). But it was not the case this time.

2 Likes