GraphRbacManagementClient (stable:1.6)

2025/09/19 • 56 new methods

SignedInUser_Get (new)
Description Gets the details for the currently logged-in user.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/me
{
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
immutableId: string ,
usageLocation: string ,
givenName: string ,
surname: string ,
userType: enum ,
accountEnabled: boolean ,
displayName: string ,
userPrincipalName: string ,
mailNickname: string ,
mail: string ,
signInNames:
[
{
type: string ,
value: string ,
}
,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
SignedInUser_ListOwnedObjects (new)
Description Get the list of directory objects that are owned by the user.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/me/ownedObjects
{
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
objectId: string ,
objectType: string ,
deletionTimestamp: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_Create (new)
Description Create a new application.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/applications
{
parameters:
{
displayName: string ,
identifierUris:
[
string ,
]
,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (201)

{
appId: string ,
allowGuestsSignIn: boolean ,
allowPassthroughUsers: boolean ,
appLogoUrl: string ,
appRoles:
[
{
id: string ,
allowedMemberTypes:
[
string ,
]
,
description: string ,
displayName: string ,
isEnabled: boolean ,
value: string ,
}
,
]
,
appPermissions:
[
string ,
]
,
availableToOtherTenants: boolean ,
displayName: string ,
errorUrl: string ,
groupMembershipClaims: enum ,
homepage: string ,
identifierUris:
[
string ,
]
,
informationalUrls:
{
termsOfService: string ,
marketing: string ,
privacy: string ,
support: string ,
}
,
isDeviceOnlyAuthSupported: boolean ,
keyCredentials:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
knownClientApplications:
[
string ,
]
,
logoutUrl: string ,
oauth2AllowImplicitFlow: boolean ,
oauth2AllowUrlPathMatching: boolean ,
oauth2Permissions:
[
{
adminConsentDescription: string ,
adminConsentDisplayName: string ,
id: string ,
isEnabled: boolean ,
type: string ,
userConsentDescription: string ,
userConsentDisplayName: string ,
value: string ,
}
,
]
,
oauth2RequirePostResponse: boolean ,
orgRestrictions:
[
string ,
]
,
optionalClaims:
{
idToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
accessToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
samlToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
}
,
passwordCredentials:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
preAuthorizedApplications:
[
{
appId: string ,
permissions:
[
{
directAccessGrant: boolean ,
accessGrants:
[
string ,
]
,
}
,
]
,
extensions:
[
{
conditions:
[
string ,
]
,
}
,
]
,
}
,
]
,
publicClient: boolean ,
publisherDomain: string ,
replyUrls:
[
string ,
]
,
requiredResourceAccess:
[
{
resourceAccess:
[
{
id: string ,
type: string ,
}
,
]
,
resourceAppId: string ,
}
,
]
,
samlMetadataUrl: string ,
signInAudience: string ,
wwwHomepage: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_List (new)
Description Lists applications by filter parameters.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/applications
{
$filter: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
appId: string ,
allowGuestsSignIn: boolean ,
allowPassthroughUsers: boolean ,
appLogoUrl: string ,
appRoles:
[
{
id: string ,
allowedMemberTypes:
[
string ,
]
,
description: string ,
displayName: string ,
isEnabled: boolean ,
value: string ,
}
,
]
,
appPermissions:
[
string ,
]
,
availableToOtherTenants: boolean ,
displayName: string ,
errorUrl: string ,
groupMembershipClaims: enum ,
homepage: string ,
identifierUris:
[
string ,
]
,
informationalUrls:
{
termsOfService: string ,
marketing: string ,
privacy: string ,
support: string ,
}
,
isDeviceOnlyAuthSupported: boolean ,
keyCredentials:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
knownClientApplications:
[
string ,
]
,
logoutUrl: string ,
oauth2AllowImplicitFlow: boolean ,
oauth2AllowUrlPathMatching: boolean ,
oauth2Permissions:
[
{
adminConsentDescription: string ,
adminConsentDisplayName: string ,
id: string ,
isEnabled: boolean ,
type: string ,
userConsentDescription: string ,
userConsentDisplayName: string ,
value: string ,
}
,
]
,
oauth2RequirePostResponse: boolean ,
orgRestrictions:
[
string ,
]
,
optionalClaims:
{
idToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
accessToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
samlToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
}
,
passwordCredentials:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
preAuthorizedApplications:
[
{
appId: string ,
permissions:
[
{
directAccessGrant: boolean ,
accessGrants:
[
string ,
]
,
}
,
]
,
extensions:
[
{
conditions:
[
string ,
]
,
}
,
]
,
}
,
]
,
publicClient: boolean ,
publisherDomain: string ,
replyUrls:
[
string ,
]
,
requiredResourceAccess:
[
{
resourceAccess:
[
{
id: string ,
type: string ,
}
,
]
,
resourceAppId: string ,
}
,
]
,
samlMetadataUrl: string ,
signInAudience: string ,
wwwHomepage: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
DeletedApplications_Restore (new)
Description Restores the deleted application in the directory.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/deletedApplications/{objectId}/restore
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
appId: string ,
allowGuestsSignIn: boolean ,
allowPassthroughUsers: boolean ,
appLogoUrl: string ,
appRoles:
[
{
id: string ,
allowedMemberTypes:
[
string ,
]
,
description: string ,
displayName: string ,
isEnabled: boolean ,
value: string ,
}
,
]
,
appPermissions:
[
string ,
]
,
availableToOtherTenants: boolean ,
displayName: string ,
errorUrl: string ,
groupMembershipClaims: enum ,
homepage: string ,
identifierUris:
[
string ,
]
,
informationalUrls:
{
termsOfService: string ,
marketing: string ,
privacy: string ,
support: string ,
}
,
isDeviceOnlyAuthSupported: boolean ,
keyCredentials:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
knownClientApplications:
[
string ,
]
,
logoutUrl: string ,
oauth2AllowImplicitFlow: boolean ,
oauth2AllowUrlPathMatching: boolean ,
oauth2Permissions:
[
{
adminConsentDescription: string ,
adminConsentDisplayName: string ,
id: string ,
isEnabled: boolean ,
type: string ,
userConsentDescription: string ,
userConsentDisplayName: string ,
value: string ,
}
,
]
,
oauth2RequirePostResponse: boolean ,
orgRestrictions:
[
string ,
]
,
optionalClaims:
{
idToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
accessToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
samlToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
}
,
passwordCredentials:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
preAuthorizedApplications:
[
{
appId: string ,
permissions:
[
{
directAccessGrant: boolean ,
accessGrants:
[
string ,
]
,
}
,
]
,
extensions:
[
{
conditions:
[
string ,
]
,
}
,
]
,
}
,
]
,
publicClient: boolean ,
publisherDomain: string ,
replyUrls:
[
string ,
]
,
requiredResourceAccess:
[
{
resourceAccess:
[
{
id: string ,
type: string ,
}
,
]
,
resourceAppId: string ,
}
,
]
,
samlMetadataUrl: string ,
signInAudience: string ,
wwwHomepage: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
DeletedApplications_List (new)
Description Gets a list of deleted applications in the directory.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/deletedApplications
{
$filter: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
appId: string ,
allowGuestsSignIn: boolean ,
allowPassthroughUsers: boolean ,
appLogoUrl: string ,
appRoles:
[
{
id: string ,
allowedMemberTypes:
[
string ,
]
,
description: string ,
displayName: string ,
isEnabled: boolean ,
value: string ,
}
,
]
,
appPermissions:
[
string ,
]
,
availableToOtherTenants: boolean ,
displayName: string ,
errorUrl: string ,
groupMembershipClaims: enum ,
homepage: string ,
identifierUris:
[
string ,
]
,
informationalUrls:
{
termsOfService: string ,
marketing: string ,
privacy: string ,
support: string ,
}
,
isDeviceOnlyAuthSupported: boolean ,
keyCredentials:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
knownClientApplications:
[
string ,
]
,
logoutUrl: string ,
oauth2AllowImplicitFlow: boolean ,
oauth2AllowUrlPathMatching: boolean ,
oauth2Permissions:
[
{
adminConsentDescription: string ,
adminConsentDisplayName: string ,
id: string ,
isEnabled: boolean ,
type: string ,
userConsentDescription: string ,
userConsentDisplayName: string ,
value: string ,
}
,
]
,
oauth2RequirePostResponse: boolean ,
orgRestrictions:
[
string ,
]
,
optionalClaims:
{
idToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
accessToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
samlToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
}
,
passwordCredentials:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
preAuthorizedApplications:
[
{
appId: string ,
permissions:
[
{
directAccessGrant: boolean ,
accessGrants:
[
string ,
]
,
}
,
]
,
extensions:
[
{
conditions:
[
string ,
]
,
}
,
]
,
}
,
]
,
publicClient: boolean ,
publisherDomain: string ,
replyUrls:
[
string ,
]
,
requiredResourceAccess:
[
{
resourceAccess:
[
{
id: string ,
type: string ,
}
,
]
,
resourceAppId: string ,
}
,
]
,
samlMetadataUrl: string ,
signInAudience: string ,
wwwHomepage: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
DeletedApplications_HardDelete (new)
Description Hard-delete an application.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/deletedApplications/{applicationObjectId}
{
applicationObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_Delete (new)
Description Delete an application.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/applications/{applicationObjectId}
{
applicationObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_Get (new)
Description Get an application by object ID.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/applications/{applicationObjectId}
{
applicationObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
appId: string ,
allowGuestsSignIn: boolean ,
allowPassthroughUsers: boolean ,
appLogoUrl: string ,
appRoles:
[
{
id: string ,
allowedMemberTypes:
[
string ,
]
,
description: string ,
displayName: string ,
isEnabled: boolean ,
value: string ,
}
,
]
,
appPermissions:
[
string ,
]
,
availableToOtherTenants: boolean ,
displayName: string ,
errorUrl: string ,
groupMembershipClaims: enum ,
homepage: string ,
identifierUris:
[
string ,
]
,
informationalUrls:
{
termsOfService: string ,
marketing: string ,
privacy: string ,
support: string ,
}
,
isDeviceOnlyAuthSupported: boolean ,
keyCredentials:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
knownClientApplications:
[
string ,
]
,
logoutUrl: string ,
oauth2AllowImplicitFlow: boolean ,
oauth2AllowUrlPathMatching: boolean ,
oauth2Permissions:
[
{
adminConsentDescription: string ,
adminConsentDisplayName: string ,
id: string ,
isEnabled: boolean ,
type: string ,
userConsentDescription: string ,
userConsentDisplayName: string ,
value: string ,
}
,
]
,
oauth2RequirePostResponse: boolean ,
orgRestrictions:
[
string ,
]
,
optionalClaims:
{
idToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
accessToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
samlToken:
[
{
name: string ,
source: string ,
essential: boolean ,
additionalProperties: object ,
}
,
]
,
}
,
passwordCredentials:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
preAuthorizedApplications:
[
{
appId: string ,
permissions:
[
{
directAccessGrant: boolean ,
accessGrants:
[
string ,
]
,
}
,
]
,
extensions:
[
{
conditions:
[
string ,
]
,
}
,
]
,
}
,
]
,
publicClient: boolean ,
publisherDomain: string ,
replyUrls:
[
string ,
]
,
requiredResourceAccess:
[
{
resourceAccess:
[
{
id: string ,
type: string ,
}
,
]
,
resourceAppId: string ,
}
,
]
,
samlMetadataUrl: string ,
signInAudience: string ,
wwwHomepage: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_Patch (new)
Description Update an existing application.
Reference Link ¶

⚼ Request

PATCH:  /{tenantID}/applications/{applicationObjectId}
{
applicationObjectId: string ,
parameters:
{
displayName: string ,
identifierUris:
[
string ,
]
,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_ListOwners (new)
Description The owners are a set of non-admin users who are allowed to modify this object.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/applications/{applicationObjectId}/owners
{
applicationObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
objectId: string ,
objectType: string ,
deletionTimestamp: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_AddOwner (new)
Description Add an owner to an application.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/applications/{applicationObjectId}/$links/owners
{
applicationObjectId: string ,
parameters:
{
url: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_RemoveOwner (new)
Description Remove a member from owners.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/applications/{applicationObjectId}/$links/owners/{ownerObjectId}
{
applicationObjectId: string ,
ownerObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_ListKeyCredentials (new)
Description Get the keyCredentials associated with an application.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/applications/{applicationObjectId}/keyCredentials
{
applicationObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_UpdateKeyCredentials (new)
Description Update the keyCredentials associated with an application.
Reference Link ¶

⚼ Request

PATCH:  /{tenantID}/applications/{applicationObjectId}/keyCredentials
{
applicationObjectId: string ,
parameters:
{
value:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_ListPasswordCredentials (new)
Description Get the passwordCredentials associated with an application.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/applications/{applicationObjectId}/passwordCredentials
{
applicationObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_UpdatePasswordCredentials (new)
Description Update passwordCredentials associated with an application.
Reference Link ¶

⚼ Request

PATCH:  /{tenantID}/applications/{applicationObjectId}/passwordCredentials
{
applicationObjectId: string ,
parameters:
{
value:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_IsMemberOf (new)
Description Checks whether the specified user, group, contact, or service principal is a direct or transitive member of the specified group.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/isMemberOf
{
parameters:
{
groupId: string ,
memberId: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value: boolean ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_RemoveMember (new)
Description Remove a member from a group.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/groups/{groupObjectId}/$links/members/{memberObjectId}
{
groupObjectId: string ,
memberObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_AddMember (new)
Description Add a member to a group.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/groups/{groupObjectId}/$links/members
{
groupObjectId: string ,
parameters:
{
url: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_Create (new)
Description Create a group in the directory.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/groups
{
parameters:
{
displayName: string ,
mailEnabled: boolean ,
mailNickname: string ,
securityEnabled: boolean ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (201)

{
displayName: string ,
mailEnabled: boolean ,
mailNickname: string ,
securityEnabled: boolean ,
mail: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_List (new)
Description Gets list of groups for the current tenant.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/groups
{
$filter: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
displayName: string ,
mailEnabled: boolean ,
mailNickname: string ,
securityEnabled: boolean ,
mail: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_GetGroupMembers (new)
Description Gets the members of a group.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/groups/{objectId}/members
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
objectId: string ,
objectType: string ,
deletionTimestamp: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_Get (new)
Description Gets group information from the directory.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/groups/{objectId}
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
displayName: string ,
mailEnabled: boolean ,
mailNickname: string ,
securityEnabled: boolean ,
mail: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_Delete (new)
Description Delete a group from the directory.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/groups/{objectId}
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_GetMemberGroups (new)
Description Gets a collection of object IDs of groups of which the specified group is a member.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/groups/{objectId}/getMemberGroups
{
objectId: string ,
parameters:
{
securityEnabledOnly: boolean ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
string ,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_ListOwners (new)
Description The owners are a set of non-admin users who are allowed to modify this object.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/groups/{objectId}/owners
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
objectId: string ,
objectType: string ,
deletionTimestamp: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_AddOwner (new)
Description Add an owner to a group.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/groups/{objectId}/$links/owners
{
objectId: string ,
parameters:
{
url: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Groups_RemoveOwner (new)
Description Remove a member from owners.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/groups/{objectId}/$links/owners/{ownerObjectId}
{
objectId: string ,
ownerObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_Create (new)
Description Creates a service principal in the directory.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/servicePrincipals
{
parameters:
{
appId: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (201)

{
accountEnabled: boolean ,
alternativeNames:
[
string ,
]
,
appDisplayName: string ,
appId: string ,
appOwnerTenantId: string ,
appRoleAssignmentRequired: boolean ,
appRoles:
[
{
id: string ,
allowedMemberTypes:
[
string ,
]
,
description: string ,
displayName: string ,
isEnabled: boolean ,
value: string ,
}
,
]
,
displayName: string ,
errorUrl: string ,
homepage: string ,
keyCredentials:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
logoutUrl: string ,
oauth2Permissions:
[
{
adminConsentDescription: string ,
adminConsentDisplayName: string ,
id: string ,
isEnabled: boolean ,
type: string ,
userConsentDescription: string ,
userConsentDisplayName: string ,
value: string ,
}
,
]
,
passwordCredentials:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
preferredTokenSigningKeyThumbprint: string ,
publisherName: string ,
replyUrls:
[
string ,
]
,
samlMetadataUrl: string ,
servicePrincipalNames:
[
string ,
]
,
servicePrincipalType: string ,
tags:
[
string ,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_List (new)
Description Gets a list of service principals from the current tenant.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/servicePrincipals
{
$filter: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
accountEnabled: boolean ,
alternativeNames:
[
string ,
]
,
appDisplayName: string ,
appId: string ,
appOwnerTenantId: string ,
appRoleAssignmentRequired: boolean ,
appRoles:
[
{
id: string ,
allowedMemberTypes:
[
string ,
]
,
description: string ,
displayName: string ,
isEnabled: boolean ,
value: string ,
}
,
]
,
displayName: string ,
errorUrl: string ,
homepage: string ,
keyCredentials:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
logoutUrl: string ,
oauth2Permissions:
[
{
adminConsentDescription: string ,
adminConsentDisplayName: string ,
id: string ,
isEnabled: boolean ,
type: string ,
userConsentDescription: string ,
userConsentDisplayName: string ,
value: string ,
}
,
]
,
passwordCredentials:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
preferredTokenSigningKeyThumbprint: string ,
publisherName: string ,
replyUrls:
[
string ,
]
,
samlMetadataUrl: string ,
servicePrincipalNames:
[
string ,
]
,
servicePrincipalType: string ,
tags:
[
string ,
]
,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Applications_GetServicePrincipalsIdByAppId (new)
Description Gets an object id for a given application id from the current tenant.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/servicePrincipalsByAppId/{applicationID}/objectId
{
api-version: string ,
tenantID: string ,
applicationID: string ,
}

⚐ Response (200)

{
value: string ,
odata.metadata: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_Update (new)
Description Updates a service principal in the directory.
Reference Link ¶

⚼ Request

PATCH:  /{tenantID}/servicePrincipals/{objectId}
{
objectId: string ,
parameters: object ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_Delete (new)
Description Deletes a service principal from the directory.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/servicePrincipals/{objectId}
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_Get (new)
Description Gets service principal information from the directory. Query by objectId or pass a filter to query by appId
Reference Link ¶

⚼ Request

GET:  /{tenantID}/servicePrincipals/{objectId}
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
accountEnabled: boolean ,
alternativeNames:
[
string ,
]
,
appDisplayName: string ,
appId: string ,
appOwnerTenantId: string ,
appRoleAssignmentRequired: boolean ,
appRoles:
[
{
id: string ,
allowedMemberTypes:
[
string ,
]
,
description: string ,
displayName: string ,
isEnabled: boolean ,
value: string ,
}
,
]
,
displayName: string ,
errorUrl: string ,
homepage: string ,
keyCredentials:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
logoutUrl: string ,
oauth2Permissions:
[
{
adminConsentDescription: string ,
adminConsentDisplayName: string ,
id: string ,
isEnabled: boolean ,
type: string ,
userConsentDescription: string ,
userConsentDisplayName: string ,
value: string ,
}
,
]
,
passwordCredentials:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
preferredTokenSigningKeyThumbprint: string ,
publisherName: string ,
replyUrls:
[
string ,
]
,
samlMetadataUrl: string ,
servicePrincipalNames:
[
string ,
]
,
servicePrincipalType: string ,
tags:
[
string ,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_ListAppRoleAssignedTo (new)
Description Principals (users, groups, and service principals) that are assigned to this service principal.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/servicePrincipals/{objectId}/appRoleAssignedTo
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
principalDisplayName: string ,
principalId: string ,
principalType: string ,
resourceDisplayName: string ,
resourceId: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_ListAppRoleAssignments (new)
Description Applications that the service principal is assigned to.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/servicePrincipals/{objectId}/appRoleAssignments
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
principalDisplayName: string ,
principalId: string ,
principalType: string ,
resourceDisplayName: string ,
resourceId: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_ListOwners (new)
Description The owners are a set of non-admin users who are allowed to modify this object.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/servicePrincipals/{objectId}/owners
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
objectId: string ,
objectType: string ,
deletionTimestamp: string ,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_AddOwner (new)
Description Add an owner to a service principal.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/servicePrincipals/{objectId}/$links/owners
{
objectId: string ,
parameters:
{
url: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_RemoveOwner (new)
Description Remove a member from owners.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/servicePrincipals/{objectId}/$links/owners/{ownerObjectId}
{
objectId: string ,
ownerObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_ListKeyCredentials (new)
Description Get the keyCredentials associated with the specified service principal.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/servicePrincipals/{objectId}/keyCredentials
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_UpdateKeyCredentials (new)
Description Update the keyCredentials associated with a service principal.
Reference Link ¶

⚼ Request

PATCH:  /{tenantID}/servicePrincipals/{objectId}/keyCredentials
{
objectId: string ,
parameters:
{
value:
[
{
startDate: string ,
endDate: string ,
value: string ,
keyId: string ,
usage: string ,
type: string ,
customKeyIdentifier: string ,
}
,
]
,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_ListPasswordCredentials (new)
Description Gets the passwordCredentials associated with a service principal.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/servicePrincipals/{objectId}/passwordCredentials
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
ServicePrincipals_UpdatePasswordCredentials (new)
Description Updates the passwordCredentials associated with a service principal.
Reference Link ¶

⚼ Request

PATCH:  /{tenantID}/servicePrincipals/{objectId}/passwordCredentials
{
objectId: string ,
parameters:
{
value:
[
{
startDate: string ,
endDate: string ,
keyId: string ,
value: string ,
customKeyIdentifier: string ,
}
,
]
,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Users_Create (new)
Description Create a new user.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/users
{
parameters:
{
accountEnabled: boolean ,
displayName: string ,
passwordProfile:
{
password: string ,
forceChangePasswordNextLogin: boolean ,
}
,
userPrincipalName: string ,
mailNickname: string ,
mail: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (201)

{
immutableId: string ,
usageLocation: string ,
givenName: string ,
surname: string ,
userType: enum ,
accountEnabled: boolean ,
displayName: string ,
userPrincipalName: string ,
mailNickname: string ,
mail: string ,
signInNames:
[
{
type: string ,
value: string ,
}
,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Users_List (new)
Description Gets list of users for the current tenant.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/users
{
$filter: string ,
$expand: string ,
$top: integer ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
immutableId: string ,
usageLocation: string ,
givenName: string ,
surname: string ,
userType: enum ,
accountEnabled: boolean ,
displayName: string ,
userPrincipalName: string ,
mailNickname: string ,
mail: string ,
signInNames:
[
{
type: string ,
value: string ,
}
,
]
,
}
,
]
,
odata.nextLink: string ,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Users_Get (new)
Description Gets user information from the directory.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/users/{upnOrObjectId}
{
upnOrObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
immutableId: string ,
usageLocation: string ,
givenName: string ,
surname: string ,
userType: enum ,
accountEnabled: boolean ,
displayName: string ,
userPrincipalName: string ,
mailNickname: string ,
mail: string ,
signInNames:
[
{
type: string ,
value: string ,
}
,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Users_Update (new)
Description Updates a user.
Reference Link ¶

⚼ Request

PATCH:  /{tenantID}/users/{upnOrObjectId}
{
upnOrObjectId: string ,
parameters:
{
accountEnabled: boolean ,
displayName: string ,
passwordProfile:
{
password: string ,
forceChangePasswordNextLogin: boolean ,
}
,
userPrincipalName: string ,
mailNickname: string ,
mail: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Users_Delete (new)
Description Delete a user.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/users/{upnOrObjectId}
{
upnOrObjectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Users_GetMemberGroups (new)
Description Gets a collection that contains the object IDs of the groups of which the user is a member.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/users/{objectId}/getMemberGroups
{
objectId: string ,
parameters:
{
securityEnabledOnly: boolean ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
string ,
]
,
}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}
Objects_GetObjectsByObjectIds (new)
Description Gets the directory objects specified in a list of object IDs. You can also specify which resource collections (users, groups, etc.) should be searched by specifying the optional types parameter.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/getObjectsByObjectIds
{
parameters:
{
objectIds:
[
string ,
]
,
types:
[
string ,
]
,
includeDirectoryObjectReferences: boolean ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
objectId: string ,
objectType: string ,
deletionTimestamp: string ,
}
,
]
,
odata.nextLink: string ,
}
Domains_List (new)
Description Gets a list of domains for the current tenant.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/domains
{
$filter: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
authenticationType: string ,
isDefault: boolean ,
isVerified: boolean ,
name: string ,
}
,
]
,
}
Domains_Get (new)
Description Gets a specific domain in the current tenant.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/domains/{domainName}
{
domainName: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
authenticationType: string ,
isDefault: boolean ,
isVerified: boolean ,
name: string ,
}
OAuth2PermissionGrant_List (new)
Description Queries OAuth2 permissions grants for the relevant SP ObjectId of an app.
Reference Link ¶

⚼ Request

GET:  /{tenantID}/oauth2PermissionGrants
{
$filter: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (200)

{
value:
[
{
odata.type: string ,
clientId: string ,
objectId: string ,
consentType: enum ,
principalId: string ,
resourceId: string ,
scope: string ,
startTime: string ,
expiryTime: string ,
}
,
]
,
odata.nextLink: string ,
}
OAuth2PermissionGrant_Create (new)
Description Grants OAuth2 permissions for the relevant resource Ids of an app.
Reference Link ¶

⚼ Request

POST:  /{tenantID}/oauth2PermissionGrants
{
body:
{
odata.type: string ,
clientId: string ,
objectId: string ,
consentType: enum ,
principalId: string ,
resourceId: string ,
scope: string ,
startTime: string ,
expiryTime: string ,
}
,
api-version: string ,
tenantID: string ,
}

⚐ Response (201)

{
odata.type: string ,
clientId: string ,
objectId: string ,
consentType: enum ,
principalId: string ,
resourceId: string ,
scope: string ,
startTime: string ,
expiryTime: string ,
}
OAuth2PermissionGrant_Delete (new)
Description Delete a OAuth2 permission grant for the relevant resource Ids of an app.
Reference Link ¶

⚼ Request

DELETE:  /{tenantID}/oauth2PermissionGrants/{objectId}
{
objectId: string ,
api-version: string ,
tenantID: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
odata.error:
{
code: string ,
message:
{
value: string ,
}
,
}
,
}