NetworkAccessPolicy.Read.All
Allows the app to read your organization's network access policies, without a signed-in user.
In short
NetworkAccessPolicy.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the NetworkAccessPolicy category. Allows the app to read your organization's network access policies, without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent.
Permission Details
Read all security and routing policies for network access
Allows the app to read your organization's network access policies, without a signed-in user.
8a3d36bf-cb46-4bcc-bec9-8d92829dab84
Read security and routing policies for network access
Allows the app to read your organization's security and routing network access policies on behalf of the signed-in user.
ba22922b-752c-446f-89d7-a2d92398fceb
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
description |
StringNullable |
Description. |
id |
String |
Identifier. Inherited from microsoft.graph.entity. |
name |
String |
Policy name. |
version |
String |
Version. |
policyRules |
networkaccess.policyRule collection |
Represents the definition of the policy ruleset that makes up the core definition of a policy. |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"@odata.type": "#microsoft.graph.networkaccess.policy",
"id": "String (identifier)",
"name": "String",
"description": "String",
"version": "String"
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
policyRules |
networkaccess.policyRule collection |
Represents the definition of the policy ruleset that makes up the core definition of a policy. |
Graph 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.NetworkAccess.FilteringPolicies["{filteringPolicy-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let filteringPolicy = await client.api('/networkAccess/filteringPolicies/161760b2-7053-4045-b886-3bce286989ae')
.version('beta')
.get();
Import-Module Microsoft.Graph.Beta.NetworkAccess
Get-MgBetaNetworkAccessFilteringPolicy -FilteringPolicyId $filteringPolicyId
# 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.network_access.filtering_policies.by_filtering_policy_id('filteringPolicy-id').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 NetworkAccessPolicy.Read.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the NetworkAccessPolicy.Read.All Microsoft Graph permission?
NetworkAccessPolicy.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the NetworkAccessPolicy category. Allows the app to read your organization's network access policies, without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph networkaccess-policy resource type. 20 documented Microsoft Graph REST methods require it. 12 Microsoft Graph PowerShell commands are documented for it.
Is NetworkAccessPolicy.Read.All an application or a delegated permission?
NetworkAccessPolicy.Read.All is available as both an application permission (app-only access, no signed-in user) and a delegated permission (access on behalf of a signed-in user).
Does NetworkAccessPolicy.Read.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for NetworkAccessPolicy.Read.All?
For NetworkAccessPolicy.Read.All, the application (app role) ID is 8a3d36bf-cb46-4bcc-bec9-8d92829dab84, and the delegated (OAuth2 scope) ID is ba22922b-752c-446f-89d7-a2d92398fceb. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.