< Back

Remove-Groups_MembersWithLicenseErrorsReferences

Sat Jan 18, 2020 2:07 pm

NAME Remove-Groups_MembersWithLicenseErrorsReferences



SYNOPSIS

Removes a reference from a "group" to a "microsoft.graph.directoryObject" object.





SYNTAX

Remove-Groups_MembersWithLicenseErrorsReferences -directoryObjectId <string> -groupId <string> [<CommonParameters>]





DESCRIPTION

Removes a reference from the specified "group" object to a "membersWithLicenseError".



Graph Call: DELETE ~/groups/{groupId}/membersWithLicenseErrors/directoryObjectId/$ref





PARAMETERS

-directoryObjectId <string>

The ID for a "microsoft.graph.directoryObject" object in the "membersWithLicenseErrors" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-groupId <string>

A required ID for referencing a "microsoft.graph.group" object in the "groups" 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.directoryObject" object in the "membersWithLicenseErrors" collection.



System.String

A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.





OUTPUTS





RELATED LINKS

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