ServiceActivity-Microsoft365Web.Read.All
Allows the app to read all Microsoft 365 Web service activity, without a signed-in user.
Permission Details
Read all Microsoft 365 Web service activity
Allows the app to read all Microsoft 365 Web service activity, without a signed-in user.
c766cb16-acc4-4663-ba09-6eedef5876c5
Read all Microsoft 365 Web service activity
Allows the app to read all Microsoft 365 Web service activity, on behalf of the signed-in user.
d74c75b1-d5a9-479d-902d-92f8f99182c1
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.ServiceActivity.GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTime(DateTimeOffset.Parse("{exclusiveIntervalEndDateTime}"),DateTimeOffset.Parse("{inclusiveIntervalStartDateTime}")).GetAsGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeGetResponseAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let getActiveUserMetricsForExcelWeb = await client.api('/reports/serviceActivity/getActiveUserMetricsForExcelWeb(inclusiveIntervalStartDateTime=2024-10-02T10:30:00Z,exclusiveIntervalEndDateTime=2024-10-02T10:59:59Z,aggregationIntervalInMinutes=10)')
.version('beta')
.get();
Import-Module Microsoft.Graph.Beta.Reports
Get-MgBetaReportServiceActivityActiveUserMetricForExcelWeb
# 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.service_activity.get_active_user_metrics_for_excel_web_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time("{exclusiveIntervalEndDateTime}","{inclusiveIntervalStartDateTime}").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 ServiceActivity-Microsoft365Web.Read.All
Grant Admin Consent
Application permissions always require admin consent.