< Back
Connect-MSGraphAPI
Post
NAME Connect-MSGraphAPI
SYNTAX
Connect-MSGraphAPI -Tenant <string> -ClientId <string> -RedirectURI <string> -Resource <string> -Credential
<pscredential> [<CommonParameters>]
PARAMETERS
-ClientId <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
Aliases None
Dynamic? false
-Credential <pscredential>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
Aliases None
Dynamic? false
-RedirectURI <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
Aliases None
Dynamic? false
-Resource <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
Aliases None
Dynamic? false
-Tenant <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
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
Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
-- To download and install Help files for the module that includes this cmdlet, use Update-Help.
examples : @{example=System.Management.Automation.PSObject[]}
alertSet : @{alert=System.Management.Automation.PSObject[]}
parameters : @{parameter=System.Management.Automation.PSObject[]}
details : @{name=Invoke-MSGraphMethod; description=System.Management.Automation.PSObject[]}
description : {@{Text=Handles the authentication piece assuming Get-GraphAuthenticationToken was already called once
before in the PowerShell session.}}
relatedLinks : @{navigationLink=@{uri=https://github.com/Ryan2065/MSGraphCmdlets}}
syntax : @{syntaxItem=@{name=Invoke-MSGraphMethod; parameter=System.Management.Automation.PSObject[]}}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Invoke-MSGraphMethod
Category : Function
Synopsis : Will run specified graph query with REST.
Component :
Role :
Functionality :
ModuleName : MSGraphAPI
SYNTAX
Connect-MSGraphAPI -Tenant <string> -ClientId <string> -RedirectURI <string> -Resource <string> -Credential
<pscredential> [<CommonParameters>]
PARAMETERS
-ClientId <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
Aliases None
Dynamic? false
-Credential <pscredential>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
Aliases None
Dynamic? false
-RedirectURI <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
Aliases None
Dynamic? false
-Resource <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
Aliases None
Dynamic? false
-Tenant <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name GetGraphClientByUserAndPassword
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
Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
-- To download and install Help files for the module that includes this cmdlet, use Update-Help.
examples : @{example=System.Management.Automation.PSObject[]}
alertSet : @{alert=System.Management.Automation.PSObject[]}
parameters : @{parameter=System.Management.Automation.PSObject[]}
details : @{name=Invoke-MSGraphMethod; description=System.Management.Automation.PSObject[]}
description : {@{Text=Handles the authentication piece assuming Get-GraphAuthenticationToken was already called once
before in the PowerShell session.}}
relatedLinks : @{navigationLink=@{uri=https://github.com/Ryan2065/MSGraphCmdlets}}
syntax : @{syntaxItem=@{name=Invoke-MSGraphMethod; parameter=System.Management.Automation.PSObject[]}}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Invoke-MSGraphMethod
Category : Function
Synopsis : Will run specified graph query with REST.
Component :
Role :
Functionality :
ModuleName : MSGraphAPI