Remove-MsolForeignGroupFromRole
Removes a security group from a partner tenant.
Syntax
Remove-MsolForeignGroupFromRole
-ForeignGroupObjectId <Guid>
-ForeignCompanyObjectId <Guid>
-RoleObjectId <Guid>
[-TenantId <Guid>]
[<CommonParameters>]
Description
The Remove-MsolForeignGroupFromRole cmdlet removes a security group from a partner tenant for a specified role in this tenant.
Parameters
-ForeignCompanyObjectId
Specifies the object ID of the partner tenant that contains the group to remove.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ForeignGroupObjectId
Specifies the unique object ID of the group in the partner tenant to remove.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-RoleObjectId
Specifies the unique object ID of the role from which to remove the group.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TenantId
Specifies the unique ID of the tenant on which to perform the operation. The default value is the tenant of the current user. This parameter applies only to partner users.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for