Home > Get Started > Required Permissions

Download this article

Required Permissions

Refer to the API permissions listed below to add the API permissions to your custom app in Azure Active Directory.

NOTE

Some API methods in Microsoft Graph are under the beta version. The features we leverage are fully tested, but Microsoft may make changes in the future that will affect the related rules using beta version APIs. Until the beta version APIs are upgraded, we recommend reviewing the results of corresponding rules to confirm expectations. For more information on Microsoft Graph API methods under the beta version we are using, refer to Appendix D - Beta Version API in Use.

Permissions Required by Common License Management

The table below lists the API permissions required for the common license management and data retrieval features in AvePoint Cense. This is also the list of permissions contained in the Cense service app.

APIPermissionTypeWhy do we need it?
Microsoft GraphUser.ReadWrite.All
(Read and write all users’ full profiles)
Application
Retrieve Microsoft 365 user basic information and user license information and change/unassign user licenses.
Microsoft GraphDirectory.Read.All
(Read directory data)
Application
Retrieve Microsoft 365 user basic information and user license information.
Microsoft GraphReports.Read.All
(Read all usage reports)
Application
Retrieve user activity time in the following Microsoft 365 apps: Teams, Viva Engage, SharePoint, Exchange, OneDrive, and Skype for Business.
Microsoft GraphCallRecords.Read.All
(Read all call records)
Application
Retrieve detailed PSTN calling activities and costs.
Microsoft GraphAuditLog.Read.All
(Read all audit log data)
Application
Retrieve users’ last sign-in time to determine if they are inactive users.
Microsoft GraphGroup.ReadWrite.All
(Read and write all groups)
Application
Retrieve and manage groups’ license assignment.
Microsoft GraphUserAuthenticationMethod.Read.All
(Read all users' authentication methods)
Application
Retrieve users’ MFA settings.
Microsoft GraphPolicy.Read.All
(Read your organization's policies)
Application
Retrieve users’ MFA statuses.
Microsoft GraphIdentityRiskyUser.Read.All
(Read all identity risky user information)
Application
Access and evaluate license usage and activities for holders of the Microsoft Entra ID P2 licenses.
Microsoft GraphFiles.ReadWrite.All
(Read and write files in all site collections)
Application
Export license reports to OneDrive
SharePointSites.ReadWrite.All
(Read and write items in all site collections)
ApplicationExport license reports to SharePoint libraries.

To include user properties related to mailbox usage in the exported license reports, such as mailbox size and mailbox archive status, you need to Manage Service Account Profiles in AvePoint Online Services and add a Microsoft 365 account with the Global Administrator role in the profile.

Permissions Required by Microsoft Foundry Management

The table below lists the API permissions required for the Microsoft Foundry cost management and reporting in AvePoint Cense. This is also the list of permissions contained in the Cense Microsoft Foundry service app.

Additionally, the app should be added to the Azure subscription that you want to monitor, with the following roles assigned to it:

  • Reader
  • Azure AI Developer
  • Foundry User
  • Cost Management Reader

For detailed steps on assigning the roles, refer to Assign Required Roles to Cense Microsoft Foundry App

APIPermissionTypeWhy do we need it?
Azure Machine Learning Servicesuser_impersonation
(Allow the application to access the Azure Machine Learning Services API on behalf of the signed-in user.)
DelegatedAccess Microsoft Foundry license usage and cost data via Azure Machine Learning Services API.
Azure Service Managementuser_impersonation
(Allows the application to access Azure Resource Manager acting as users in the organization.)
DelegatedAccess Microsoft Foundry license usage and cost data via Azure Resource Management API.