< Back
Get-DeviceManagement_RoleDefinitions_RoleAssignments
Post
NAME Get-DeviceManagement_RoleDefinitions_RoleAssignments
SYNOPSIS
Retrieves "microsoft.graph.roleAssignment" objects.
SYNTAX
Get-DeviceManagement_RoleDefinitions_RoleAssignments -roleAssignmentId <string> -roleDefinitionId <string>
[-Expand <string[]>] [-Select <string[]>] [<CommonParameters>]
Get-DeviceManagement_RoleDefinitions_RoleAssignments -roleDefinitionId <string> [-Expand <string[]>] [-Filter
<string>] [-MaxPageSize <int>] [-OrderBy <string[]>] [-Search <string>] [-Select <string[]>] [-Skip <int>] [-Top
<int>] [<CommonParameters>]
DESCRIPTION
Retrieves "microsoft.graph.roleAssignment" objects in the "roleAssignments" collection.
List of Role assignments for this role definition.
Graph call: GET ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments
PARAMETERS
-roleDefinitionId <string>
A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-roleAssignmentId <string>
The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Filter <string>
The "$filter" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Search <string>
The "$search" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Skip <int>
The "$skip" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Top <int>
The "$top" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-First <int>
The "$top" query option value.
This is an alias of the Top parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MaxPageSize <int>
The "Prefer: odata.maxpagesize" header value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Select <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Expand <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OrderBy <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.
System.String
The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Retrieves "microsoft.graph.roleAssignment" objects.
SYNTAX
Get-DeviceManagement_RoleDefinitions_RoleAssignments -roleAssignmentId <string> -roleDefinitionId <string>
[-Expand <string[]>] [-Select <string[]>] [<CommonParameters>]
Get-DeviceManagement_RoleDefinitions_RoleAssignments -roleDefinitionId <string> [-Expand <string[]>] [-Filter
<string>] [-MaxPageSize <int>] [-OrderBy <string[]>] [-Search <string>] [-Select <string[]>] [-Skip <int>] [-Top
<int>] [<CommonParameters>]
DESCRIPTION
Retrieves "microsoft.graph.roleAssignment" objects in the "roleAssignments" collection.
List of Role assignments for this role definition.
Graph call: GET ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments
PARAMETERS
-roleDefinitionId <string>
A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-roleAssignmentId <string>
The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Filter <string>
The "$filter" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Search <string>
The "$search" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Skip <int>
The "$skip" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Top <int>
The "$top" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-First <int>
The "$top" query option value.
This is an alias of the Top parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MaxPageSize <int>
The "Prefer: odata.maxpagesize" header value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Select <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Expand <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OrderBy <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.
System.String
The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK