Cmdlets for Microsoft Office 365

Build 24.0.9060

AuthScheme Parameter (Connect-Office365 Cmdlet)

The type of authentication to use when connecting to Microsoft Office 365.

Syntax

Connect-Office365 -AuthScheme string

Possible Values

AzureAD, AzureMSI, AzureServicePrincipal, AzureServicePrincipalCert

Data Type

cstr

Default Value

"AzureAD"

Remarks

  • AzureAD: Set this to perform Azure Active Directory OAuth authentication.
  • AzureMSI: Set this to automatically obtain Managed Service Identity credentials when running on an Azure VM.
  • AzureServicePrincipal: Set this to authenticate as an Azure Service Principal using a Client Secret.
  • AzureServicePrincipalCert: Set this to authenticate as an Azure Service Principal using a Certificate.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060