ESC
Type to search...

Member.Read.Hidden

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read User Scope

Allows the app to read the memberships of hidden groups and administrative units without a signed-in user.

Permission data: July 5, 2026 at 7:09 PM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Read all hidden memberships

Allows the app to read the memberships of hidden groups and administrative units without a signed-in user.

Delegated Permission Admin consent required

Read hidden memberships

Allows the app to read the memberships of hidden groups and administrative units on behalf of the signed-in user, for those hidden groups and administrative units that the signed-in user has access to.

Properties

Microsoft Graph beta exact-category-docs

Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Property Type Description
contactId String The ID of the referenced contact, if applicable. Optional.
displayName String The display name of the member. Optional.
key String The email address or routing key of the member. Required.
recipientType recipientType The type of the recipient. The possible values are: contact, oneOff, mailbox, privateDL, unknownFutureValue. Optional.
routingType String The routing type for the member, for example, SMTP. Optional.

JSON Representation

Microsoft Graph beta exact-category-docs

JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

JSON representation
{
  "@odata.type": "#microsoft.graph.member",
  "contactId": "string",
  "displayName": "string",
  "key": "string",
  "recipientType": "string",
  "routingType": "string"
}

Relationships

Relationships metadata is not available for this permission mapping.

View resource documentation

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /education/classes/{id}/members
POST /education/classes/{id}/members/$ref
Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /education/classes/{id}/members
POST /education/classes/{id}/members/$ref
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgEducationClassMember /education/classes/{id}/members
List members of an educationClass
New-MgEducationClassMemberByRef /education/classes/{id}/members/$ref
Add a student
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgBetaEducationClassMember /education/classes/{id}/members
List members
New-MgBetaEducationClassMemberByRef /education/classes/{id}/members/$ref
Add a student

Code Examples

C# / .NET SDK
Add a student
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Models;

var requestBody = new ReferenceCreate
{
	OdataId = "https://graph.microsoft.com/v1.0/education/users/13015",
};

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
await graphClient.Education.Classes["{educationClass-id}"].Members.Ref.PostAsync(requestBody);
JavaScript
Add a student
const options = {
	authProvider,
};

const client = Client.init(options);

const educationUser = {
  '@odata.id':'https://graph.microsoft.com/v1.0/education/users/13015'
};

await client.api('/education/classes/{class-id}/members/$ref')
	.post(educationUser);
PowerShell
Add a student
Import-Module Microsoft.Graph.Education

$params = @{
	"@odata.id" = "https://graph.microsoft.com/v1.0/education/users/13015"
}

New-MgEducationClassMemberByRef -EducationClassId $educationClassId -BodyParameter $params
Python
Add a student
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.reference_create import ReferenceCreate
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = ReferenceCreate(
	odata_id = "https://graph.microsoft.com/v1.0/education/users/13015",
)

await graph_client.education.classes.by_education_class_id('educationClass-id').members.ref.post(request_body)

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for Member.Read.Hidden

4

Grant Admin Consent

Application permissions always require admin consent.