Register Service Principal for Sharepoint Online

Copper Contributor

Hello,

 

I tried to register a Service Principal to a Sharepoint Site according to https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs

 

Unfortunately, "Create" results in the following Error Message:

workmate_0-1719613932594.png

 

I have Sharepoint Admin and Site Admin Rights.

 

Can someone help me?

 

Best regards

1 Reply

@workmate 

NicolasKheirallah_0-1719742576495.png

This is the reason...

Have you run: Set-SPOtenant -DisableCustomAppAuthentication $false

 

With that being said, I strongly recommend that you move over to Azure-AD permission and Graph permissions instead!