Partager via


Set-MgGraphOption

Sets global configurations that apply to the SDK. For example, toggle Web Account Manager (WAM) support.

Syntax

Set-MgGraphOption
   [-EnableLoginByWAM <Boolean>]
   [-ProgressAction <ActionPreference>]
   [<CommonParameters>]

Description

Sets global configurations that apply to the SDK. For example, toggle Web Account Manager (WAM) support.

Examples

Example 1: Set web account manager support

PS C:\> Set-MgGraphOption -EnableLoginByWAM $True

Sets web account manager support

Parameters

-EnableLoginByWAM

{{ Fill EnableLoginByWAM Description }}

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object