Share via


Set-MgGraphOption

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

Syntax

__AllParameterSets

Set-MgGraphOption
    [-EnableLoginByWAM <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

Parameters

-EnableLoginByWAM

{{ Fill EnableLoginByWAM Description }}

Parameter properties

Type:System.Boolean
Default value:None
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