Make Entra App Registation a SharePoint Site Admin

Steve 0 Reputation points
2026-02-15T23:50:05.7433333+00:00

I need to make an Entra App registration owner of SharePoint sites for the purpose of an automation that makes copies of a modern SharePoint site. None of the tools I can find in the admin portal recognize the app as a user, neither by name, ID or Ad nomenclature like i:0i.t|ms.sp.ext|YOUR_APP_ID@YOUR_TENANT_ID. Attempts in PowerShell also fail. Can anyone point me in the right direction?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Oldest
  1. AI answer

    2026-02-15T23:50:14.9766667+00:00

    To make an Entra App registration an owner of SharePoint sites, you need to ensure that the app has the necessary permissions and that you are using the correct methods to assign those permissions. Here are the steps you can follow:

    1. Grant Permissions: Ensure that your Entra App registration has the appropriate permissions to access SharePoint. You can do this by navigating to the Entra Portal, selecting your app registration, and configuring the API permissions to include SharePoint permissions.
    2. Use PowerShell: You can use PowerShell to add the app as a site collection administrator. The command typically looks like this:
         Add-PnPTeamsTab -Team "YourTeamName" -WebSiteUrl "YourSharePointSiteURL" -AppId "YOUR_APP_ID"
      
      Make sure you replace YOUR_APP_ID with the actual application ID of your Entra App.
    3. Check User Type: When trying to add the app as an owner, ensure that you are using the correct format for the app ID. The format i:0i.t|ms.sp.ext|YOUR_APP_ID@YOUR_TENANT_ID should be used correctly, and the app must be recognized as a valid user in the context of SharePoint.
    4. Admin Consent: Ensure that you have granted admin consent for the permissions that your app requires. This is crucial for the app to function correctly with SharePoint.
    5. Troubleshooting: If the app is still not recognized, double-check the permissions assigned and ensure that the app registration is correctly configured in the Entra Portal. You may also want to consult with your tenant or Entra admins for additional support.

    By following these steps, you should be able to successfully make your Entra App registration an owner of the SharePoint sites needed for your automation tasks.

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.