New-MgBetaDeviceManagementTermAndConditionGroupAssignment
Create new navigation property to groupAssignments for deviceManagement
Syntax
CreateExpanded (Default)
New-MgBetaDeviceManagementTermAndConditionGroupAssignment
-TermsAndConditionsId <String>
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-Id <String>]
[-TargetGroupId <String>]
[-TermsAndConditions <IMicrosoftGraphTermsAndConditions>]
[-Headers <IDictionary>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Create
New-MgBetaDeviceManagementTermAndConditionGroupAssignment
-TermsAndConditionsId <String>
-BodyParameter <IMicrosoftGraphTermsAndConditionsGroupAssignment>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
CreateViaIdentityExpanded
New-MgBetaDeviceManagementTermAndConditionGroupAssignment
-InputObject <IDeviceManagementAdministrationIdentity>
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-Id <String>]
[-TargetGroupId <String>]
[-TermsAndConditions <IMicrosoftGraphTermsAndConditions>]
[-Headers <IDictionary>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
CreateViaIdentity
New-MgBetaDeviceManagementTermAndConditionGroupAssignment
-InputObject <IDeviceManagementAdministrationIdentity>
-BodyParameter <IMicrosoftGraphTermsAndConditionsGroupAssignment>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Create new navigation property to groupAssignments for deviceManagement
Permissions
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | DeviceManagementServiceConfig.ReadWrite.All, |
Delegated (personal Microsoft account) | Not supported |
Application | DeviceManagementServiceConfig.ReadWrite.All, |
Parameters
-AdditionalProperties
Additional Parameters
Parameter properties
Type: | Hashtable |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
CreateExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CreateViaIdentityExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-BodyParameter
A termsAndConditionsGroupAssignment entity represents the assignment of a given Terms and Conditions (T&C) policy to a given group. Users in the group will be required to accept the terms in order to have devices enrolled into Intune. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Parameter properties
Type: | IMicrosoftGraphTermsAndConditionsGroupAssignment |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Create
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CreateViaIdentity
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Headers
Optional headers that will be added to the request.
Parameter properties
Type: | IDictionary |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Id
The unique identifier for an entity. Read-only.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
CreateExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CreateViaIdentityExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Parameter properties
Type: | IDeviceManagementAdministrationIdentity |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
CreateViaIdentityExpanded
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CreateViaIdentity
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ResponseHeadersVariable
Optional Response Headers Variable.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | RHV |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TargetGroupId
Unique identifier of a group that the T&C policy is assigned to.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
CreateExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CreateViaIdentityExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TermsAndConditions
A termsAndConditions entity represents the metadata and contents of a given Terms and Conditions (T&C) policy. T&C policies' contents are presented to users upon their first attempt to enroll into Intune and subsequently upon edits where an administrator has required re-acceptance. They enable administrators to communicate the provisions to which a user must agree in order to have devices enrolled into Intune. To construct, see NOTES section for TERMSANDCONDITIONS properties and create a hash table.
Parameter properties
Type: | IMicrosoftGraphTermsAndConditions |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
CreateExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CreateViaIdentityExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TermsAndConditionsId
The unique identifier of termsAndConditions
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
CreateExpanded
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
Create
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Microsoft.Graph.Beta.PowerShell.Models.IDeviceManagementAdministrationIdentity
Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphTermsAndConditionsGroupAssignment
System.Collections.IDictionary
Outputs
Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphTermsAndConditionsGroupAssignment
Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
BODYPARAMETER <IMicrosoftGraphTermsAndConditionsGroupAssignment>
: A termsAndConditionsGroupAssignment entity represents the assignment of a given Terms and Conditions (T&C) policy to a given group.
Users in the group will be required to accept the terms in order to have devices enrolled into Intune.
[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[TargetGroupId <String>]
: Unique identifier of a group that the T&C policy is assigned to.[TermsAndConditions <IMicrosoftGraphTermsAndConditions>]
: A termsAndConditions entity represents the metadata and contents of a given Terms and Conditions (T&C) policy. T&C policies' contents are presented to users upon their first attempt to enroll into Intune and subsequently upon edits where an administrator has required re-acceptance. They enable administrators to communicate the provisions to which a user must agree in order to have devices enrolled into Intune.[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[AcceptanceStatement <String>]
: Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy.[AcceptanceStatuses <IMicrosoftGraphTermsAndConditionsAcceptanceStatus-
[]>]
: The list of acceptance statuses for this T&C policy.[Id <String>]
: The unique identifier for an entity. Read-only.[AcceptedDateTime <DateTime?>]
: DateTime when the terms were last accepted by the user.[AcceptedVersion <Int32?>]
: Most recent version number of the T&C accepted by the user.[TermsAndConditions <IMicrosoftGraphTermsAndConditions>]
: A termsAndConditions entity represents the metadata and contents of a given Terms and Conditions (T&C) policy. T&C policies' contents are presented to users upon their first attempt to enroll into Intune and subsequently upon edits where an administrator has required re-acceptance. They enable administrators to communicate the provisions to which a user must agree in order to have devices enrolled into Intune.[UserDisplayName <String>]
: Display name of the user whose acceptance the entity represents.[UserPrincipalName <String>]
: The userPrincipalName of the User that accepted the term.
[Assignments <IMicrosoftGraphTermsAndConditionsAssignment-
[]>]
: The list of assignments for this T&C policy.[Id <String>]
: The unique identifier for an entity. Read-only.[Target <IMicrosoftGraphDeviceAndAppManagementAssignmentTarget>]
: Base type for assignment targets.[(Any) <Object>]
: This indicates any property can be added to this object.[DeviceAndAppManagementAssignmentFilterId <String>]
: The Id of the filter for the target assignment.[DeviceAndAppManagementAssignmentFilterType <DeviceAndAppManagementAssignmentFilterType?>]
: Represents type of the assignment filter.
[BodyText <String>]
: Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy.[CreatedDateTime <DateTime?>]
: DateTime the object was created.[Description <String>]
: Administrator-supplied description of the T&C policy.[DisplayName <String>]
: Administrator-supplied name for the T&C policy.[GroupAssignments <IMicrosoftGraphTermsAndConditionsGroupAssignment-
[]>]
: The list of group assignments for this T&C policy.[LastModifiedDateTime <DateTime?>]
: DateTime the object was last modified.[ModifiedDateTime <DateTime?>]
: DateTime the object was last modified.[RoleScopeTagIds <String-
[]>]
: List of Scope Tags for this Entity instance.[Title <String>]
: Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy.[Version <Int32?>]
: Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy.
INPUTOBJECT <IDeviceManagementAdministrationIdentity>
: Identity Parameter
[AuditEventId <String>]
: The unique identifier of auditEvent[CartToClassAssociationId <String>]
: The unique identifier of cartToClassAssociation[CloudPcAuditEventId <String>]
: The unique identifier of cloudPcAuditEvent[CloudPcBulkActionId <String>]
: The unique identifier of cloudPcBulkAction[CloudPcDeviceImageId <String>]
: The unique identifier of cloudPcDeviceImage[CloudPcExportJobId <String>]
: The unique identifier of cloudPcExportJob[CloudPcExternalPartnerSettingId <String>]
: The unique identifier of cloudPcExternalPartnerSetting[CloudPcFrontLineServicePlanId <String>]
: The unique identifier of cloudPcFrontLineServicePlan[CloudPcGalleryImageId <String>]
: The unique identifier of cloudPcGalleryImage[CloudPcId <String>]
: The unique identifier of cloudPC[CloudPcOnPremisesConnectionId <String>]
: The unique identifier of cloudPcOnPremisesConnection[CloudPcProvisioningPolicyAssignmentId <String>]
: The unique identifier of cloudPcProvisioningPolicyAssignment[CloudPcProvisioningPolicyId <String>]
: The unique identifier of cloudPcProvisioningPolicy[CloudPcServicePlanId <String>]
: The unique identifier of cloudPcServicePlan[CloudPcSnapshotId <String>]
: The unique identifier of cloudPcSnapshot[CloudPcSupportedRegionId <String>]
: The unique identifier of cloudPcSupportedRegion[CloudPcUserSettingAssignmentId <String>]
: The unique identifier of cloudPcUserSettingAssignment[CloudPcUserSettingId <String>]
: The unique identifier of cloudPcUserSetting[ComanagementEligibleDeviceId <String>]
: The unique identifier of comanagementEligibleDevice[ComplianceManagementPartnerId <String>]
: The unique identifier of complianceManagementPartner[DeviceAndAppManagementRoleAssignmentId <String>]
: The unique identifier of deviceAndAppManagementRoleAssignment[DeviceManagementDomainJoinConnectorId <String>]
: The unique identifier of deviceManagementDomainJoinConnector[DeviceManagementExchangeConnectorId <String>]
: The unique identifier of deviceManagementExchangeConnector[DeviceManagementExchangeOnPremisesPolicyId <String>]
: The unique identifier of deviceManagementExchangeOnPremisesPolicy[DeviceManagementPartnerId <String>]
: The unique identifier of deviceManagementPartner[GroupPolicyCategoryId <String>]
: The unique identifier of groupPolicyCategory[GroupPolicyCategoryId1 <String>]
: The unique identifier of groupPolicyCategory[GroupPolicyDefinitionFileId <String>]
: The unique identifier of groupPolicyDefinitionFile[GroupPolicyDefinitionId <String>]
: The unique identifier of groupPolicyDefinition[GroupPolicyMigrationReportId <String>]
: The unique identifier of groupPolicyMigrationReport[GroupPolicyObjectFileId <String>]
: The unique identifier of groupPolicyObjectFile[GroupPolicyOperationId <String>]
: The unique identifier of groupPolicyOperation[GroupPolicyPresentationId <String>]
: The unique identifier of groupPolicyPresentation[GroupPolicySettingMappingId <String>]
: The unique identifier of groupPolicySettingMapping[GroupPolicyUploadedDefinitionFileId <String>]
: The unique identifier of groupPolicyUploadedDefinitionFile[IntuneBrandingProfileAssignmentId <String>]
: The unique identifier of intuneBrandingProfileAssignment[IntuneBrandingProfileId <String>]
: The unique identifier of intuneBrandingProfile[IosUpdateDeviceStatusId <String>]
: The unique identifier of iosUpdateDeviceStatus[ManagedAllDeviceCertificateStateId <String>]
: The unique identifier of managedAllDeviceCertificateState[MobileThreatDefenseConnectorId <String>]
: The unique identifier of mobileThreatDefenseConnector[NdesConnectorId <String>]
: The unique identifier of ndesConnector[RemoteAssistancePartnerId <String>]
: The unique identifier of remoteAssistancePartner[ResourceOperationId <String>]
: The unique identifier of resourceOperation[RestrictedAppsViolationId <String>]
: The unique identifier of restrictedAppsViolation[RoleAssignmentId <String>]
: The unique identifier of roleAssignment[RoleDefinitionId <String>]
: The unique identifier of roleDefinition[RoleScopeTagAutoAssignmentId <String>]
: The unique identifier of roleScopeTagAutoAssignment[RoleScopeTagId <String>]
: The unique identifier of roleScopeTag[TelecomExpenseManagementPartnerId <String>]
: The unique identifier of telecomExpenseManagementPartner[TermsAndConditionsAcceptanceStatusId <String>]
: The unique identifier of termsAndConditionsAcceptanceStatus[TermsAndConditionsAssignmentId <String>]
: The unique identifier of termsAndConditionsAssignment[TermsAndConditionsGroupAssignmentId <String>]
: The unique identifier of termsAndConditionsGroupAssignment[TermsAndConditionsId <String>]
: The unique identifier of termsAndConditions[UnsupportedGroupPolicyExtensionId <String>]
: The unique identifier of unsupportedGroupPolicyExtension[UserId <String>]
: The unique identifier of user[UserPfxCertificateId <String>]
: The unique identifier of userPFXCertificate
TERMSANDCONDITIONS <IMicrosoftGraphTermsAndConditions>
: A termsAndConditions entity represents the metadata and contents of a given Terms and Conditions (T&C) policy.
T&C policies' contents are presented to users upon their first attempt to enroll into Intune and subsequently upon edits where an administrator has required re-acceptance.
They enable administrators to communicate the provisions to which a user must agree in order to have devices enrolled into Intune.
[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[AcceptanceStatement <String>]
: Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy.[AcceptanceStatuses <IMicrosoftGraphTermsAndConditionsAcceptanceStatus-
[]>]
: The list of acceptance statuses for this T&C policy.[Id <String>]
: The unique identifier for an entity. Read-only.[AcceptedDateTime <DateTime?>]
: DateTime when the terms were last accepted by the user.[AcceptedVersion <Int32?>]
: Most recent version number of the T&C accepted by the user.[TermsAndConditions <IMicrosoftGraphTermsAndConditions>]
: A termsAndConditions entity represents the metadata and contents of a given Terms and Conditions (T&C) policy. T&C policies' contents are presented to users upon their first attempt to enroll into Intune and subsequently upon edits where an administrator has required re-acceptance. They enable administrators to communicate the provisions to which a user must agree in order to have devices enrolled into Intune.[UserDisplayName <String>]
: Display name of the user whose acceptance the entity represents.[UserPrincipalName <String>]
: The userPrincipalName of the User that accepted the term.
[Assignments <IMicrosoftGraphTermsAndConditionsAssignment-
[]>]
: The list of assignments for this T&C policy.[Id <String>]
: The unique identifier for an entity. Read-only.[Target <IMicrosoftGraphDeviceAndAppManagementAssignmentTarget>]
: Base type for assignment targets.[(Any) <Object>]
: This indicates any property can be added to this object.[DeviceAndAppManagementAssignmentFilterId <String>]
: The Id of the filter for the target assignment.[DeviceAndAppManagementAssignmentFilterType <DeviceAndAppManagementAssignmentFilterType?>]
: Represents type of the assignment filter.
[BodyText <String>]
: Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy.[CreatedDateTime <DateTime?>]
: DateTime the object was created.[Description <String>]
: Administrator-supplied description of the T&C policy.[DisplayName <String>]
: Administrator-supplied name for the T&C policy.[GroupAssignments <IMicrosoftGraphTermsAndConditionsGroupAssignment-
[]>]
: The list of group assignments for this T&C policy.[Id <String>]
: The unique identifier for an entity. Read-only.[TargetGroupId <String>]
: Unique identifier of a group that the T&C policy is assigned to.[TermsAndConditions <IMicrosoftGraphTermsAndConditions>]
: A termsAndConditions entity represents the metadata and contents of a given Terms and Conditions (T&C) policy. T&C policies' contents are presented to users upon their first attempt to enroll into Intune and subsequently upon edits where an administrator has required re-acceptance. They enable administrators to communicate the provisions to which a user must agree in order to have devices enrolled into Intune.
[LastModifiedDateTime <DateTime?>]
: DateTime the object was last modified.[ModifiedDateTime <DateTime?>]
: DateTime the object was last modified.[RoleScopeTagIds <String-
[]>]
: List of Scope Tags for this Entity instance.[Title <String>]
: Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy.[Version <Int32?>]
: Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy.