Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type
Least privileged permissions
Higher privileged permissions
Delegated (work or school account)
IdentityUserFlow.Read.All
IdentityUserFlow.ReadWrite.All
Delegated (personal Microsoft account)
Not supported.
Not supported.
Application
IdentityUserFlow.Read.All
IdentityUserFlow.ReadWrite.All
For delegated scenarios, the administrator needs at least the External ID User Flow Attribute AdministratorMicrosoft Entra role.
HTTP request
GET /identity/userFlowAttributes/{id}
Request headers
Name
Description
Authorization
Bearer {token}. Required.
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK response code and a identityUserFlowAttribute object in the response body.
GET https://graph.microsoft.com/v1.0/identity/userFlowAttributes/{id}
// 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.Identity.UserFlowAttributes["{identityUserFlowAttribute-id}"].GetAsync();
// THE CLI IS IN PREVIEW. NON-PRODUCTION USE ONLY
mgc identity user-flow-attributes get --identity-user-flow-attribute-id {identityUserFlowAttribute-id}
<?php
// THIS SNIPPET IS A PREVIEW VERSION OF THE SDK. NON-PRODUCTION USE ONLY
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$result = $graphServiceClient->identity()->userFlowAttributes()->byIdentityUserFlowAttributeId('identityUserFlowAttribute-id')->get()->wait();
# THE PYTHON SDK IS IN PREVIEW. FOR NON-PRODUCTION USE ONLY
graph_client = GraphServiceClient(credentials, scopes)
result = await graph_client.identity.user_flow_attributes.by_identity_user_flow_attribute_id('identityUserFlowAttribute-id').get()