Set-MgGraphOption
Sets global configurations that apply to the SDK.
Syntax
Default (Default)
Set-MgGraphOption
[-EnableLoginByWAM <Boolean>]
[<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 }}
Parameter properties
Type: | 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.