< Back
New-Groups_OwnersReferences
Post
NAME New-Groups_OwnersReferences
SYNOPSIS
Creates a reference from a "group" to a "microsoft.graph.directoryObject" object.
SYNTAX
New-Groups_OwnersReferences -directoryObjectReferenceUrl <string> -groupId <string> [<CommonParameters>]
DESCRIPTION
Creates a reference from the specified "group" object to a "owner".
Graph Call: POST ~/groups/{groupId}/owners/$ref
PARAMETERS
-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
-directoryObjectReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-directoryObjectPartnerReferenceReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-directoryRoleReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-directoryRoleTemplateReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-groupReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-contractReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-organizationReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-userReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-groupSettingTemplateReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-administrativeUnitReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
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
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
System.String
The URL which should be used to access a "microsoft.graph.directoryObject" object.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Creates a reference from a "group" to a "microsoft.graph.directoryObject" object.
SYNTAX
New-Groups_OwnersReferences -directoryObjectReferenceUrl <string> -groupId <string> [<CommonParameters>]
DESCRIPTION
Creates a reference from the specified "group" object to a "owner".
Graph Call: POST ~/groups/{groupId}/owners/$ref
PARAMETERS
-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
-directoryObjectReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-directoryObjectPartnerReferenceReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-directoryRoleReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-directoryRoleTemplateReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-groupReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-contractReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-organizationReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-userReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-groupSettingTemplateReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-administrativeUnitReferenceUrl <string>
The URL which should be used to access a "microsoft.graph.directoryObject" object.
This is an alias of the directoryObjectReferenceUrl parameter.
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
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
System.String
The URL which should be used to access a "microsoft.graph.directoryObject" object.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK