Remove-CafStaleRoleAssignments
Deletes leftover role assignments for already deleted service principals.
Syntax
Remove-CafStaleRoleAssignments
[-WhatIf]
Description
Removes the unknown objects from the role assignments through the tenant.
Example
Remove-CafStaleRoleAssignments
Parameter
-WhatIf
The removal is only simulated and outputs the role assignments it will remove.
| Property | Value |
|---|---|
| Type: | SwitchParameter |
| Default value: | False |
| Required: | False |