Home > Required Permissions
Export to PDFRefer to the sections below for the required permissions for using AvePoint Opus properly.
If you select service account profile as the authentication method to manage Microsoft 365 objects, the account within the profile must have the following permissions:
For instructions on how to create service account profiles in AvePoint Online Services > Management > Service account, refer to Manage Service Account Profiles.
If you select app profile as the authentication method to manage Microsoft 365 objects, refer to the table below to identify the right app and find its required permissions. For instructions on how to create app profiles in AvePoint Online Services > Management > App Management, refer to Manage App Profiles.
*Note: To manage Exchange mailboxes via app profile, you need to assign the Exchange Administrator role to the app in the Microsoft Entra admin center. For the detailed instructions on how to grant the Exchange Administrator role to the app, refer to How to Assign the Exchange Administrator Role to an App.
Setup Methods and App Types
The table below lists the supported setup methods and app types.
| Setup Method | App Type | Note |
|---|---|---|
| Classic Mode | Microsoft 365 (All permissions) | Once you create this app profile, the AvePoint Online Services Administration for Microsoft365 app will be automatically created in your Microsoft Entra ID.To see the API permissions you need to accept when you authorize the app, refer to API Permissions Required by AvePoint Apps. |
| Modern Mode(Recommended) | AvePoint Opus | Once you create this app profile, the AvePoint Opus app will be automatically created in your Microsoft Entra ID.To see the API permissions you need to accept when you authorize the app, refer to API Permissions Required by AvePoint Apps. |
| Modern Mode(Recommended) | Reporting for Microsoft 365 | Once you create this app profile, the AvePoint Reporting for Microsoft365 app will be automatically created in your Microsoft Entra ID.To see the API permissions you need to accept when you authorize the app, refer to API Permissions Required by AvePoint Apps. |
| Custom Mode | Azure app | If you want to create an Azure app in your Microsoft Entra ID, you need to add the API permissions required by AvePoint Opus to the custom app.*Note: For a custom Azure app, the Teams & Groups content source within the Storage Optimization module will be unavailable. If you want to use its functionalities, please create a custom Azure app with delegated permissions, instead of this Azure app.Refer to the following table for the required API permissions. |
| Custom Mode | Azure app with delegated permissions | If you want to create an Azure app with delegated permissions in your Microsoft Entra ID, you need to add the API permissions required by AvePoint Opus to the custom app with delegated permissions.*Note: Currently, the Discovery and Analysis module is not fully supported by this app. If you do not want to use the Teams & Groups content source within the Storage Optimization module, please use an Azure app instead.Refer to the following table for the required API permissions. |
Permissions for Custom Azure App
This table lists the API permissions required by AvePoint Opus for a custom Azure app:
*Note: If you choose to use a custom Azure app, the Teams & Groups content source within the Storage Optimization module will be unavailable. If you want to use its functionalities, please create a custom Azure app with delegated permissions, instead of this Azure app.
| API | Type | Permission | Purpose |
|---|---|---|---|
| SharePoint | Delegate | User.Read.All(Read all users’ full profiles) | Retrieve information of Microsoft 365 user profiles related to OneDrive, update SharePoint objects, and synchronize term objects to the term store. |
| SharePoint | Application | Sites.FullControl.All(Have full control of all site collections) | Retrieve information of Microsoft 365 user profiles related to OneDrive, update SharePoint objects, and synchronize term objects to the term store. |
| SharePoint | Application | User.Read.All(Read all users’ full profiles) | Retrieve information of Microsoft 365 user profiles related to OneDrive, update SharePoint objects, and synchronize term objects to the term store. |
| SharePoint | Application | TermStore.ReadWrite.All(Read and write managed metadata) | Retrieve information of Microsoft 365 user profiles related to OneDrive, update SharePoint objects, and synchronize term objects to the term store. |
| Microsoft Graph | Application | Directory.Read.All(Read directory data) | Search users and groups from Microsoft Entra. |
| Microsoft Graph | Application | Group.Read.All(Read all groups) | Search users and groups from Microsoft Entra. |
| Microsoft Graph | Application | User.Read.All(Read all users’ full profiles) | Search users and groups from Microsoft Entra. |
| Microsoft Graph | Application | Mail.Send(Send mail as any user) | Send email notifications from a user’s email address. |
| Microsoft Graph | Application | Reports.Read.All(Read all usage reports) | Retrieve file size of your Microsoft 365 tenant.This permission will be required if you want to use the Discovery and Analysis functionality. |
| Office 365 Exchange Online | Application | full_access_as_app(Use Exchange Web Services with full access to all mailboxes) | Retrieve information of mailboxes and update mailbox extended properties. |
| Office 365 Management APIs | Application | ActivityFeed.Read(Read activity data for your organisation) | Retrieve activity data in your organization. |
Permissions for Custom Azure App Required by Storage Optimization Only
This table lists the API permissions required by the Storage Optimization module within AvePoint Opus for a custom Azure app:
*Note: This permission list is relevant only when you use the SharePoint Online and OneDrive content sources within the Storage Optimization module. If you want to use the Teams & Groups content source as well, please create a custom Azure app with delegated permissions, instead of this Azure app.
| API | Type | Permission | Purpose |
|---|---|---|---|
| SharePoint | Application | Sites.FullControl.All(Have full control of all site collections) | Retrieve information of SharePoint Online site collections. |
| SharePoint | Application | User.Read.All(Read all users’ full profiles) | Retrieve information of Microsoft 365 user profiles related to OneDrive. |
| SharePoint | Application | TermStore.ReadWrite.All(Read and write managed metadata) | Archive and restore term store. |
| Microsoft Graph | Application | Group.Read.All(Read all groups) | Scan Microsoft Group team sites by scanning Microsoft 365 Groups and Microsoft Teams in AvePoint Online Services Auto Discovery. |
| Microsoft Graph | Application | User.Read.All(Read all users’ full profiles) | Retrieve user information when using ReCenter to restore or export archived files. |
| Microsoft Graph | Application | Reports.Read.All(Read all usage reports) | Retrieve file size of your Microsoft 365 tenant.*Note: This permission will be required if you want to use the Discovery and Analysis functionality. |
Permissions for Custom Azure App with Delegated Permissions
This table lists the API permissions required by AvePoint Opus for a custom Azure app with delegated permissions:
*Note: Currently, the Discovery and Analysis module is not fully supported by this app. If you do not want to use the Teams & Groups content source within the Storage Optimization module, please use an Azure app instead.
| API | Type | Permission | Purpose |
|---|---|---|---|
| Microsoft Graph | Application | Directory.Read.All(Read directory data) | Search users or groups from Microsoft Entra ID. |
| Microsoft Graph | Application | Group.Read.All(Read all groups) | Search users or groups from Microsoft Entra ID. |
| Microsoft Graph | Application | TeamSettings.ReadWrite.All(Read and change all teams' settings) | Back up and restore teams’ settings. |
| Microsoft Graph | Application | TeamsTab.ReadWrite.All(Read and write tabs in Microsoft Teams) | Back up and restore teams’ settings. |
| Microsoft Graph | Application | Sites.ReadWrite.All(Read and write items in all site collections) | Back up and restore Microsoft Teams and Microsoft 365 Groups team sites data. |
| Microsoft Graph | Application | Team.Create(Create teams) | Restore teams. |
| Microsoft Graph | Application | Group.ReadWrite.All(Read and write all groups) | Scan Microsoft 365 Groups via Auto Discovery. Back up and restore Microsoft Teams and Microsoft 365 Groups data. |
| Microsoft Graph | Application | User.Read.All(Read all users' full profiles) | Retrieve the Microsoft 365 users’ user profiles. |
| Microsoft Graph | Application | TeamMember.ReadWrite.All(Add and remove members from all teams) | Back up and restore teams’ members. |
| Microsoft Graph | Application | Chat.Read.All(Read all chat messages) | Back up the Teams chat messages. |
| Microsoft Graph | Application | ChannelMessage.Read.All(Read all channel messages) | Back up and restore the members and messages of the Team’s private channels. |
| Microsoft Graph | Application | TeamsAppInstallation.ReadWriteForTeam.All(Manage Teams apps for all teams) | Back up and restore teams’ apps. |
| Microsoft Graph | Application | ChannelMember.ReadWrite.All(Add and remove members from all channels) | Back up and restore the members and messages of the Team’s private channels. |
| Microsoft Graph | Application | Tasks.ReadWrite.All(Read and write all users’ tasks and task lists) | Backup up and restore Planner data. |
| Microsoft Graph | Application | ChannelSettings.ReadWrite.All(Read and write the names, descriptions, and settings of all channels) | Retrieve channel information for the data protection of Teams service. |
| Microsoft Graph | Application | Channel.Create(Create channels) | Restore teams’ channels. |
| Microsoft Graph | Application | Sites.FullControl.All(Have full control of all site collections) | Back up and restore site collections. |
| Microsoft Graph | Application | User.Read.All(Read all users' full profiles) | Retrieve information of user profiles. |
| Microsoft Graph | Application | MailboxItem.ImportExport.All(Allows the app to perform backup and restore for all mailbox items) | Import and export mailbox items. |
| Microsoft Graph | Application | MailboxFolder.Read.All(Read all the users’ mailbox folders.) | Retrieve users’ mailbox folders. |
| Microsoft Graph | Application | MailboxItem.Read.All(Read all the users’ mailbox items) | Retrieve users’ mailbox items. |
| Microsoft Graph | Application | MailboxSettings.Read(Read all user mailbox settings) | Retrieve users’ mailbox settings. |
| Microsoft Graph | Application | Mail.ReadWrite(Read and write access to user mail) | Access and modify items within users’ mailboxes. |
| Microsoft Graph | Delegated | Directory.Read.All(Read directory data) | Search users or groups from Microsoft Entra ID. |
| Microsoft Graph | Delegated | User.Read(Sign in and read user profile) | Search users or groups from Microsoft Entra ID. |
| Microsoft Graph | Delegated | Group.ReadWrite.All(Read and write all groups) | Retrieve tabs information from Microsoft Teams. |
| Protect planner data in Microsoft 365 Groups and Teams. | |||
| Microsoft Graph | Delegated | ChannelMessage.Send(Send channel messages) | Send messages to channels in Microsoft Teams. |
| Microsoft Graph | Delegated | TeamMember.ReadWrite.All(Add and remove members from teams) | Add members to Microsoft Teams. |
| Microsoft Graph | Delegated | ChannelMember.ReadWrite.All(Add and remove members from channels) | Add members to channels in Microsoft Teams. |
| Microsoft Graph | Delegated | User.Read.All(Read all users' full profiles) | Retrieve information of user profiles in Planner data restore. |
| Microsoft Graph | Delegated | RecordsManagement.Read.All(Read Records Management configuration, labels, and policies) | Retrieve the Records Management configuration in the Microsoft 365 Compliance Center. |
| SharePoint | Application | Sites.FullControl.All(Have full control of all site collections) | Update SharePoint objects |
| SharePoint | Application | TermStore.ReadWrite.All(Read and write managed metadata) | Sync term objects to term store. |
| SharePoint | Application | User.Read.All(Read all users’ full profiles) | Retrieve information of Microsoft 365 user profiles related to OneDrive. |
| Exchange | Application | full_access_as_app(Use Exchange Web Services with full access to all mailboxes) | Retrieve information of mailboxes and update mailbox extend properties. |
*Note: If your organization doesn’t want to grant the SharePoint Application permission Sites.FullControl.All to your Azure app, you can choose Sites.Selected instead. Unlike Sites.FullControl.All that grants the Azure app complete administrative access over all site collections within the tenant, Sites.Selected allows you to grant Azure app necessary access over designated site collections. By default, an Azure app with the Sites.Selected permission has no access to any SharePoint site collections until explicitly configured. To ensure the Azure app can manage site collections and their content, you need to explicitly assign the fullcontrol role to the Azure app for each specific site collection to be managed by Opus.
Opus allows you to use a custom Google app to manage Google Workspaces. Follow the instructions below to configure a custom Google app and create an app profile to consent to the custom app:
Configure a custom Google app by referring to the Create a Custom Google App section in the AvePoint Online Services user guide.
Refer to the information below to enable the required APIs:
Admin SDK API must be enabled to retrieve domains and activity reports.
Google Drive API must be enabled to scan containers and manage files.
Drive Labels API must be enabled to manage labels.
Enter the following scopes in the OAuth scopes field.
Refer to the table below for details about why we need the scopes:
| Service | API | Scope | Purpose |
|---|---|---|---|
| Common | Admin SDK API | https://www.googleapis.com/auth/admin.directory.group.readonly | Retrieve groups in your domain. |
| Common | Admin SDK API | https://www.googleapis.com/auth/admin.directory.user.readonly | Retrieve users in your domain. |
| Common | Admin SDK API | https://www.googleapis.com/auth/admin.directory.domain.readonly | Retrieve domain of your organization. |
| Common | Admin SDK API | https://www.googleapis.com/auth/admin.reports.audit.readonly | Retrieve activity reports. |
| Common | Admin SDK API | https://www.googleapis.com/auth/admin.reports.usage.readonly | Retrieve the size usage of all My Drive and Shared Drive. |
| Drive Labels | Drive Labels API | https://www.googleapis.com/auth/drive.admin.labels | Retrieve all Google Drive labels in your organization. |
| Drive Labels | Drive Labels API | https://www.googleapis.com/auth/drive.labels | Retrieve all information of labels on files. |
| Drive | Google Drive API | https://www.googleapis.com/auth/drive | Retrieve all folders and files under My Drive and shared drives. |
| Drive | Google Drive API | https://www.googleapis.com/auth/drive.readonly | Retrieve all information of files under My Drive and shared drives. |
To install the Related Records app, ensure the following permissions:
If you want to restore archived apps, a service account profile will be required. The service account within the profile must have the following permissions:
You can register agents to connect AvePoint Opus to on-premises content sources to access and manage the content.
To connect AvePoint Opus to the File System, make sure the agent account has the following permissions:
To connect AvePoint Opus to SharePoint On-Premises, make sure the agent account has the following permissions:
AvePoint Opus will enable custom script on a particular site when it runs jobs to manage the site content as below:
During the review process (for example, record review process, classification review process, etc.), you can select groups as reviewers who are responsible for reviewing. To make sure the groups that are configured as reviewers can receive email notifications sent from AvePoint Opus, you need to enable the Let people outside the organization email the group setting for those groups in the Microsoft 365 admin center.
*Note: It may take up to 30 minutes before this setting takes effect.