< Back
New-DeviceManagement_TermsAndConditions_AcceptanceStatuses
Post
NAME New-DeviceManagement_TermsAndConditions_AcceptanceStatuses
SYNOPSIS
Creates a "microsoft.graph.termsAndConditionsAcceptanceStatus" object.
SYNTAX
New-DeviceManagement_TermsAndConditions_AcceptanceStatuses -termsAndConditionId <string> [-acceptedDateTime
<DateTimeOffset>] [-acceptedVersion <int>] [-termsAndConditions <object>] [-userDisplayName <string>]
[<CommonParameters>]
New-DeviceManagement_TermsAndConditions_AcceptanceStatuses -ODataType <string> -termsAndConditionId <string>
[-acceptedDateTime <DateTimeOffset>] [-acceptedVersion <int>] [-termsAndConditions <object>] [-userDisplayName
<string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.termsAndConditionsAcceptanceStatus" object to the "acceptanceStatuses" collection.
The list of acceptance statuses for this T&C policy.
Graph call: POST ~/deviceManagement/termsAndConditions/{termsAndConditionId}/acceptanceStatuses
PARAMETERS
-termsAndConditionId <string>
A required ID for referencing a "microsoft.graph.termsAndConditions" object in the "termsAndConditions"
collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-userDisplayName <string>
The "userDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Display name of the user whose acceptance the entity represents.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-acceptedVersion <int>
The "acceptedVersion" property, of type "Edm.Int32".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Most recent version number of the T&C accepted by the user.
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-acceptedDateTime <DateTimeOffset>
The "acceptedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
DateTime when the terms were last accepted by the user.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-termsAndConditions <object>
The "termsAndConditions" property, of type "microsoft.graph.termsAndConditions".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Navigation link to the terms and conditions that are assigned.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ODataType <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-@odata.type <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
This is an alias of the ODataType 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.termsAndConditions" object in the "termsAndConditions"
collection.
System.String
The "userDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Display name of the user whose acceptance the entity represents.
System.Int32
The "acceptedVersion" property, of type "Edm.Int32".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Most recent version number of the T&C accepted by the user.
System.DateTimeOffset
The "acceptedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
DateTime when the terms were last accepted by the user.
System.Object
The "termsAndConditions" property, of type "microsoft.graph.termsAndConditions".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Navigation link to the terms and conditions that are assigned.
System.String
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Creates a "microsoft.graph.termsAndConditionsAcceptanceStatus" object.
SYNTAX
New-DeviceManagement_TermsAndConditions_AcceptanceStatuses -termsAndConditionId <string> [-acceptedDateTime
<DateTimeOffset>] [-acceptedVersion <int>] [-termsAndConditions <object>] [-userDisplayName <string>]
[<CommonParameters>]
New-DeviceManagement_TermsAndConditions_AcceptanceStatuses -ODataType <string> -termsAndConditionId <string>
[-acceptedDateTime <DateTimeOffset>] [-acceptedVersion <int>] [-termsAndConditions <object>] [-userDisplayName
<string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.termsAndConditionsAcceptanceStatus" object to the "acceptanceStatuses" collection.
The list of acceptance statuses for this T&C policy.
Graph call: POST ~/deviceManagement/termsAndConditions/{termsAndConditionId}/acceptanceStatuses
PARAMETERS
-termsAndConditionId <string>
A required ID for referencing a "microsoft.graph.termsAndConditions" object in the "termsAndConditions"
collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-userDisplayName <string>
The "userDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Display name of the user whose acceptance the entity represents.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-acceptedVersion <int>
The "acceptedVersion" property, of type "Edm.Int32".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Most recent version number of the T&C accepted by the user.
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-acceptedDateTime <DateTimeOffset>
The "acceptedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
DateTime when the terms were last accepted by the user.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-termsAndConditions <object>
The "termsAndConditions" property, of type "microsoft.graph.termsAndConditions".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Navigation link to the terms and conditions that are assigned.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ODataType <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-@odata.type <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
This is an alias of the ODataType 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.termsAndConditions" object in the "termsAndConditions"
collection.
System.String
The "userDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Display name of the user whose acceptance the entity represents.
System.Int32
The "acceptedVersion" property, of type "Edm.Int32".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Most recent version number of the T&C accepted by the user.
System.DateTimeOffset
The "acceptedDateTime" property, of type "Edm.DateTimeOffset".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
DateTime when the terms were last accepted by the user.
System.Object
The "termsAndConditions" property, of type "microsoft.graph.termsAndConditions".
This property is on the "microsoft.graph.termsAndConditionsAcceptanceStatus" type.
Navigation link to the terms and conditions that are assigned.
System.String
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK