SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

Register Service Principal for Sharepoint Online Site #9783

Open matemsg opened 2 months ago

matemsg commented 2 months ago

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

Additional environment details

No response

Issue description

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

image

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

I have Sharepoint Admin and Site Admin Rights.

Can someone help me?

Best regards

mkm17 commented 1 month ago

Hi @matemsg I have checked the behavior in my environment, and I can still create it. However, please double-check the retirement message and also the information about the setting DisableCustomAppAuthentication on the new tenants image

As this functionality is in the retirement process, it might be a good idea to use a different method to achieve the same effect.