external help file | Module Name | online version | schema | ms.subservice |
---|---|---|---|---|
Microsoft.Graph.Identity.SignIns-help.xml |
Microsoft.Graph.Identity.SignIns |
2.0.0 |
entra-id-governance |
Update the properties of an adminConsentRequestPolicy object.
Note
To view the beta release of this cmdlet, view Update-MgBetaPolicyAdminConsentRequestPolicy
Update-MgPolicyAdminConsentRequestPolicy [-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>] [-Id <String>] [-IsEnabled] [-NotifyReviewers] [-RemindersEnabled]
[-RequestDurationInDays <Int32>] [-Reviewers <IMicrosoftGraphAccessReviewReviewerScope[]>] [-Version <Int32>]
[-Headers <IDictionary>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
Update-MgPolicyAdminConsentRequestPolicy -BodyParameter <IMicrosoftGraphAdminConsentRequestPolicy>
[-ResponseHeadersVariable <String>] [-Headers <IDictionary>] [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Update the properties of an adminConsentRequestPolicy object.
Permissions [!INCLUDE permissions-table]
Additional Parameters
Type: Hashtable
Parameter Sets: UpdateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
adminConsentRequestPolicy To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: IMicrosoftGraphAdminConsentRequestPolicy
Parameter Sets: Update
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Optional headers that will be added to the request.
Type: IDictionary
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The unique identifier for an entity. Read-only.
Type: String
Parameter Sets: UpdateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies whether the admin consent request feature is enabled or disabled. Required.
Type: SwitchParameter
Parameter Sets: UpdateExpanded
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies whether reviewers will receive notifications. Required.
Type: SwitchParameter
Parameter Sets: UpdateExpanded
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies whether reviewers will receive reminder emails. Required.
Type: SwitchParameter
Parameter Sets: UpdateExpanded
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the duration the request is active before it automatically expires if no decision is applied.
Type: Int32
Parameter Sets: UpdateExpanded
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Optional Response Headers Variable.
Type: String
Parameter Sets: (All)
Aliases: RHV
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The list of reviewers for the admin consent. Required. To construct, see NOTES section for REVIEWERS properties and create a hash table.
Type: IMicrosoftGraphAccessReviewReviewerScope[]
Parameter Sets: UpdateExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the version of this policy. When the policy is updated, this version is updated. Read-only.
Type: Int32
Parameter Sets: UpdateExpanded
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
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 <IMicrosoftGraphAdminConsentRequestPolicy>
: adminConsentRequestPolicy
[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[IsEnabled <Boolean?>]
: Specifies whether the admin consent request feature is enabled or disabled. Required.[NotifyReviewers <Boolean?>]
: Specifies whether reviewers will receive notifications. Required.[RemindersEnabled <Boolean?>]
: Specifies whether reviewers will receive reminder emails. Required.[RequestDurationInDays <Int32?>]
: Specifies the duration the request is active before it automatically expires if no decision is applied.[Reviewers <IMicrosoftGraphAccessReviewReviewerScope-
[]>]
: The list of reviewers for the admin consent. Required.[Query <String>]
: The query specifying who will be the reviewer.[QueryRoot <String>]
: In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions.[QueryType <String>]
: The type of query. Examples include MicrosoftGraph and ARM.
[Version <Int32?>]
: Specifies the version of this policy. When the policy is updated, this version is updated. Read-only.
REVIEWERS <IMicrosoftGraphAccessReviewReviewerScope- []
>: The list of reviewers for the admin consent.
Required.
[Query <String>]
: The query specifying who will be the reviewer.[QueryRoot <String>]
: In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions.[QueryType <String>]
: The type of query. Examples include MicrosoftGraph and ARM.
https://learn.microsoft.com/graph/api/adminconsentrequestpolicy-update?view=graph-rest-1.0