Skip to content

Connect-EntraSPO

SYNOPSIS

Connect to SharePoint Online using a service principal.

SYNTAX

Connect-EntraSPO

DESCRIPTION

The `Connect-EntraSPO` function authenticates with SharePoint Online using a service principal. It retrieves credentials from PasswordState and connects to the SharePoint Online admin service.

EXAMPLES

EXAMPLE 1

Connect-EntraSPO

Connects to SharePoint Online using the service principal credentials retrieved from PasswordState.

PARAMETERS

INPUTS

OUTPUTS

NOTES