Insights-UserMetric.Read.All
Allows an app to read all user metrics insights, such as daily and monthly active users, without a signed-in user.
Permission Details
Read all user metrics insights
Allows an app to read all user metrics insights, such as daily and monthly active users, without a signed-in user.
34cbd96c-d824-4755-90d3-1008ef47efc1
Read user metrics insights
Allows an app to read user metrics insights, such as daily and monthly active users, on behalf of the signed-in user.
7d249730-51a3-4180-8ec1-214f144f1bff
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
content |
base64urlNullable |
The http content that has the data |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"content": "String"
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Reports.UserInsights.Daily.ActiveUsers.GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let activeUsers = await client.api('/reports/userInsights/daily/activeUsers')
.version('beta')
.get();
Import-Module Microsoft.Graph.Beta.Reports
Get-MgBetaReportUserInsightDailyActiveUser
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.reports.user_insights.daily.active_users.get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for Insights-UserMetric.Read.All
Grant Admin Consent
Application permissions always require admin consent.