< Back

Connect-MSGraph

Sat Jan 18, 2020 8:53 pm

NAME Connect-MSGraph



SYNTAX

Connect-MSGraph [-UserName] <string> [-Password] <string> -AzureADDomain <string> -AppId <string> -AppSecret

<string> -RedirectUrl <string> [-BaseUrl <string>] [<CommonParameters>]



Connect-MSGraph -AzureADDomain <string> -AppId <string> -AppSecret <string> -RedirectUrl <string> [-BaseUrl

<string>] [<CommonParameters>]





PARAMETERS

-AppId <string>



Required? true

Position? Named

Accept pipeline input? false

Parameter set name UserPassword, Daemon

Aliases ClientId

Dynamic? false



-AppSecret <string>



Required? true

Position? Named

Accept pipeline input? false

Parameter set name UserPassword, Daemon

Aliases ClientSecret

Dynamic? false



-AzureADDomain <string>



Required? true

Position? Named

Accept pipeline input? false

Parameter set name UserPassword, Daemon

Aliases None

Dynamic? false



-BaseUrl <string>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name UserPassword, Daemon

Aliases None

Dynamic? false



-Password <string>



Required? true

Position? 1

Accept pipeline input? false

Parameter set name UserPassword

Aliases None

Dynamic? false



-RedirectUrl <string>



Required? true

Position? Named

Accept pipeline input? false

Parameter set name UserPassword, Daemon

Aliases None

Dynamic? false



-UserName <string>



Required? true

Position? 0

Accept pipeline input? false

Parameter set name UserPassword

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

None





OUTPUTS

System.Object



ALIASES

None





REMARKS

None