< Back
Connect-AzureADAdminAccount
Post
NAME Connect-AzureADAdminAccount
SYNOPSIS
This function connects to Azure AD using admin account credentials or a MSPComplete Endpoint.
SYNTAX
Connect-AzureADAdminAccount -username <String> -password <SecureString> [<CommonParameters>]
Connect-AzureADAdminAccount -endpoint <Object> [<CommonParameters>]
DESCRIPTION
This function connects to Azure AD using admin account credentials or a MSPComplete Endpoint.
It returns whether the connection and logon was successful.
PARAMETERS
-username <String>
The username of the AzureAD account.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-password <SecureString>
The password of the AzureAD account.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-endpoint <Object>
The MSPComplete Endpoint.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? 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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Connect-AzureADAdminAccount -Endpoint $Endpoint
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$Endpoint | Connect-AzureADAdminAccount
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Connect-AzureADAdminAccount -Username $username -Password $password
RELATED LINKS
SYNOPSIS
This function connects to Azure AD using admin account credentials or a MSPComplete Endpoint.
SYNTAX
Connect-AzureADAdminAccount -username <String> -password <SecureString> [<CommonParameters>]
Connect-AzureADAdminAccount -endpoint <Object> [<CommonParameters>]
DESCRIPTION
This function connects to Azure AD using admin account credentials or a MSPComplete Endpoint.
It returns whether the connection and logon was successful.
PARAMETERS
-username <String>
The username of the AzureAD account.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-password <SecureString>
The password of the AzureAD account.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-endpoint <Object>
The MSPComplete Endpoint.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? 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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Connect-AzureADAdminAccount -Endpoint $Endpoint
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$Endpoint | Connect-AzureADAdminAccount
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Connect-AzureADAdminAccount -Username $username -Password $password
RELATED LINKS