< Back

Remove-DeviceManagement_RoleDefinitions_RoleAssignments

Sat Jan 18, 2020 2:05 pm

NAME Remove-DeviceManagement_RoleDefinitions_RoleAssignments



SYNOPSIS

Removes a "microsoft.graph.roleAssignment" object.





SYNTAX

Remove-DeviceManagement_RoleDefinitions_RoleAssignments -roleAssignmentId <string> -roleDefinitionId <string>

[<CommonParameters>]





DESCRIPTION

Removes a "microsoft.graph.roleAssignment" object from the "roleAssignments" collection.



List of Role assignments for this role definition.



Graph Call: DELETE ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/roleAssignmentId





PARAMETERS

-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



-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



<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

The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.



System.String

A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK