Share via


Set-MgGraphOption

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

Syntax

__AllParameterSets

Set-MgGraphOption
    [-DisableLoginByWAM <bool>]
    [<CommonParameters>]

Description

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

Examples

Set web account manager support

PS C:> Set-MgGraphOption -EnableLoginByWAM $True

Sets web account manager support Note: Signin by Web Account Manager (WAM) is enabled by default on Windows and cannot be disabled. Setting this option will no longer have any effect.

Parameters

-DisableLoginByWAM

{{ Fill DisableLoginByWAM Description }}

Parameter properties

Type:

System.Nullable`1[System.Boolean]

Supports wildcards:False
DontShow:False

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.

Outputs

System.Object