< Back
Get-DeviceManagement_RoleAssignments_RoleDefinition
Post
NAME Get-DeviceManagement_RoleAssignments_RoleDefinition
SYNOPSIS
Retrieves the "roleDefinition" object.
SYNTAX
Get-DeviceManagement_RoleAssignments_RoleDefinition -deviceAndAppManagementRoleAssignmentId <string>
-roleAssignmentODataType <string> [-Expand <string[]>] [-Select <string[]>] [<CommonParameters>]
Get-DeviceManagement_RoleAssignments_RoleDefinition -deviceAndAppManagementRoleAssignmentId <string>
-roleAssignmentODataType <string> [-Expand <string[]>] [-Select <string[]>] [<CommonParameters>]
DESCRIPTION
Retrieves the "roleDefinition" object (which is of type "microsoft.graph.roleDefinition").
Role definition this assignment is part of.
Graph call: GET ~/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataTyp
e}/roleDefinition
PARAMETERS
-deviceAndAppManagementRoleAssignmentId <string>
A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the
"roleAssignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-roleAssignmentODataType <string>
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.deviceAndAppManagementRoleAssignment" objects.
Valid values: 'microsoft.graph.deviceAndAppManagementRoleAssignment'
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
<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.deviceAndAppManagementRoleAssignment" object in the
"roleAssignments" collection.
System.String
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.deviceAndAppManagementRoleAssignment" objects.
Valid values: 'microsoft.graph.deviceAndAppManagementRoleAssignment'
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Retrieves the "roleDefinition" object.
SYNTAX
Get-DeviceManagement_RoleAssignments_RoleDefinition -deviceAndAppManagementRoleAssignmentId <string>
-roleAssignmentODataType <string> [-Expand <string[]>] [-Select <string[]>] [<CommonParameters>]
Get-DeviceManagement_RoleAssignments_RoleDefinition -deviceAndAppManagementRoleAssignmentId <string>
-roleAssignmentODataType <string> [-Expand <string[]>] [-Select <string[]>] [<CommonParameters>]
DESCRIPTION
Retrieves the "roleDefinition" object (which is of type "microsoft.graph.roleDefinition").
Role definition this assignment is part of.
Graph call: GET ~/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataTyp
e}/roleDefinition
PARAMETERS
-deviceAndAppManagementRoleAssignmentId <string>
A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the
"roleAssignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-roleAssignmentODataType <string>
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.deviceAndAppManagementRoleAssignment" objects.
Valid values: 'microsoft.graph.deviceAndAppManagementRoleAssignment'
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
<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.deviceAndAppManagementRoleAssignment" object in the
"roleAssignments" collection.
System.String
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.deviceAndAppManagementRoleAssignment" objects.
Valid values: 'microsoft.graph.deviceAndAppManagementRoleAssignment'
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK