Home > Get Started > Permissions for Service Account

Download this article

Permissions for Service Account

The following tables list the permissions required for the service account profile you configured in AvePoint Online Services for specific Microsoft 365 and Power Platform management operations.

Service Account Permissions for Microsoft 365 Management

ManagementFeatureService Account PermissionWhy we need it?
UsersBlock users with the Global Administrator role from signing inGlobal AdministratorThe Global Administrator role is required for service account when calling the API.
UsersInvite users individually or in bulkGlobal AdministratorThe Global Administrator role is required for service account when calling the API.
UsersDelete users and permanently delete usersUser AdministratorThe User Administrator role is required for service account when calling the API.
UsersBlock user sign-inUser Administrator/Authentication AdministratorThe User Administrator and Authentication Administrator is required for service account when calling the API.
UsersRestore deleted usersUser Administrator/Global AdministratorThe User Administrator role is required for service account when calling the API.
To restore deleted users with specific administrative roles, a Global Administrator role is required for service account when calling the API. For more details, refer to Who can perform sensitive actions.
UsersUpdate user profile and phone numbersUser Administrator/Authentication Administrator/Global AdministratorThe User Administrator and Authentication Administrator role is required for service account when calling the API.
To update profile and phone numbers for users with specific administrative roles, a Global Administrator role is required for service account when calling the API. For more details, refer to Who can perform sensitive actions.
UsersReset user passwordsPassword Administrator/Global AdministratorThe Password Administrator role is required for service account when calling the API.
To reset passwords for users with specific administrative roles, a Global Administrator role is required for service account when calling the API. For more details, refer to Who can perform sensitive actions.
ExchangeUpdate mail users’ phone numbersGlobal AdministratorThe Global Administrator role is required for service account when calling the API.
TeamsView and update Teams sensitivityGroups AdministratorThe Groups Administrator role is required to call API.
TeamsAccess the Call quality reportTeams AdministratorThe Teams Administrator role is required to call specific APIs.
TeamsArchive Teams and update the associated SharePoint Online site to read-only status for Team membersTeams AdministratorThe Teams Administrator role is required to call specific APIs.
GroupsManage sensitivity labels for Microsoft 365 GroupsGroups AdministratorThe Groups Administrator role is required for service account when calling the API.
GroupsDelete or permanently delete Microsoft 365 Groups and security groupsGroups AdministratorThe Groups Administrator role is required for service account when calling the API.
GroupsRestore deleted Microsoft 365 GroupsGroups AdministratorThe Groups Administrator role is required for service account when calling the API.
SharePointManage SharePoint sites, including:
Create Group team sites
Connect sites to new Microsoft 365 Groups
Update hub settings for sites in multi geo tenants
SharePoint AdministratorThe SharePoint Administrator role is required to call rest API and CSOM API.
SharePointCreate sites with the Visio Process Repository templateGlobal AdministratorSites with these two templates are not available to be created with app profiles or service accounts with the SharePoint administrator role.
OneDrivePre-provision OneDrive with workflowsSharePoint AdministratorThe SharePoint Administrator role is required to call CSOM API.

The following service account permissions can now be replaced by permissions assigned to app profiles. To switch to app profile usage, refer to Quick Start Setups.

EnPower FunctionalityService Account PermissionApp Profile Permission
(Microsoft Graph API)
TypeNote
Block user sign-inAuthentication Administrator;
User Administrator;
Global Administrator
User.ReadWrite.All
(Read and write all users' full profiles)
ApplicationAccording to Microsoft's security policy, when using an app to manage users with certain administrative roles, the app must be assigned a higher administrative role to perform sensitive actions. For details of the roles required, refer to Who can perform sensitive actions.
Update user profile and phone numbersAuthentication Administrator;
User Administrator;
Global Administrator
User.ReadWrite.All
(Read and write all users' full profiles)
ApplicationAccording to Microsoft's security policy, when using an app to manage users with certain administrative roles, the app must be assigned a higher administrative role to perform sensitive actions. For details of the roles required, refer to Who can perform sensitive actions.
Update users' MFA settingsAuthentication Administrator;
Global Administrator
UserAuthenticationMethod.Read.All
(Read all users' authentication methods)
Application-
Update users' MFA settingsAuthentication Administrator;
Global Administrator
Policy.ReadWrite.AuthenticationMethod
(Read and write all authentication method policies)
Application-
Invite usersGlobal AdministratorUser.Invite.All
(Invite guest users to the organization)
ApplicationAccording to Microsoft's security policy, when using an app to manage users with certain administrative roles, the app must be assigned a higher administrative role to perform sensitive actions. For details of the roles required, refer to Who can perform sensitive actions.
Reset user passwordGlobal Administrator;
Password Administrator
User.ReadWrite.All
(Read and write all users' full profiles)
Application-
Delete users or permanently delete usersUser AdministratorUser.ReadWrite.All
(Read and write all users' full profiles)
ApplicationAccording to Microsoft's security policy, when using an app to manage users with certain administrative roles, the app must be assigned a higher administrative role to perform sensitive actions. For details of the roles required, refer to Who can perform sensitive actions.
Restore deleted usersUser AdministratorUser.ReadWrite.All
(Read and write all users' full profiles)
ApplicationAccording to Microsoft's security policy, when using an app to manage users with certain administrative roles, the app must be assigned a higher administrative role to perform sensitive actions. For details of the roles required, refer to Who can perform sensitive actions.
Restore deleted usersUser AdministratorUser.DeleteRestore.All
(Delete and restore all users)
ApplicationAccording to Microsoft's security policy, when using an app to manage users with certain administrative roles, the app must be assigned a higher administrative role to perform sensitive actions. For details of the roles required, refer to Who can perform sensitive actions.
Manage sensitivity labels for Microsoft 365 GroupsGroups AdministratorGroup.ReadWrite.All
(Read and write all groups)
DelegatedTo enable the delegated API permission, the user account used for authorizing the app must have the Groups Administrator or a higher role assigned.
Delete or permanently delete Microsoft 365 and security groupsGroups AdministratorGroup.ReadWrite.All
(Read and write all groups)
Application-
Restore deleted Microsoft 365 GroupGroups AdministratorGroup.ReadWrite.All
(Read and write all groups)
Application-
Create Group team sitesSharePoint AdministratorGroup.ReadWrite.All
(Read and write all groups)
Application-
Create Group team sitesSharePoint AdministratorSites.ReadWrite.All
(Read and write items in all site collections)
Application-
Archive Teams and update the associated SharePoint Online site to read-only status for Team membersTeams AdministratorTeamSettings.ReadWrite.All
(Read and change all teams' settings)
Application-

Service Account Permissions for Power Platform Management

The table below lists the permissions required for the service account configured in AvePoint Online Services for specific Power Platform management operations.

ManagementFeatureService Account Permission/LicenseWhy we need it?
Power Platform Environments/Power Automate/Power AppsCopy apps and flows in environments not using DataverseAdmin in source and destination environmentsThe administrator role is required to retrieve and copy apps’/flows’ information and settings in environments.
Power Platform Environments/Power Automate/Power AppsCopy apps and flows in environments using DataverseSystem Administrator role in source and destination environmentsThe administrator role is required to retrieve and copy apps’/flows’ information and settings in environments.
Power BIUpdate the following settings of Power BI workspaces and artifacts:
Contacts
Workspace OneDrive
Template app enabled
App updates by contributors
Workspace upgrade status
Account with Power BI license
*Note: To perform relevant operations, the service account needs to be manually added as an administrator in workspaces. You can also specify an account with Power BI license in Quick start so that the account can be automatically added to workspaces as administrator.
The service account is required for delegated permissions.
Power BIRetrieve scorecardsAccount with Power BI license
*Note: To perform relevant operations, the service account needs to be manually added as an administrator in workspaces. You can also specify an account with Power BI license in Quick start so that the account can be automatically added to workspaces as administrator.
The service account is required for delegated permissions.
Power BIRetrieve semantic model’s refresh historyAccount with Power BI license
*Note: To perform relevant operations, the service account needs to be manually added as an administrator in workspaces. You can also specify an account with Power BI license in Quick start so that the account can be automatically added to workspaces as administrator.
The service account is required for delegated permissions.
Power BIRetrieve whether semantic model’s permission is direct or indirectAccount with Power BI license
*Note: To perform relevant operations, the service account needs to be manually added as an administrator in workspaces. You can also specify an account with Power BI license in Quick start so that the account can be automatically added to workspaces as administrator.
The service account is required for delegated permissions.