Add-​Azure​Analysis​Services​Account

Adds an authenticated account to use for Azure Analysis Services server cmdlet requests.

Syntax

Add-AzureAnalysisServicesAccount
   [-RolloutEnvironment] <String>
   [[-Credential] <PSCredential>]
   [-Confirm]
   [-WhatIf]

Description

The Add-AzureAnalysisServicesAccount cmdlet is used to login to an instance of Azure Analysis Services server

Examples

Example 1

PS C:\>Add-AzureAnalysisServicesAccount
RolloutEnvironment: westcentralus.asazure.windows.net
Credential: $UserCredential

This example will add the account specified by the $UserCredential variable to the westcentralus.asazure.windows.net Analysis Services environment.

Required Parameters

-RolloutEnvironment

Name of the Azure Analysis Services environment to which to logon to. Given the full name of the server for example asazure://westcentralus.asazure.windows.net/testserver , the correct value for this variable will be westcentralus.asazure.windows.net

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Credential

Login credentials

Type:PSCredential
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Notes

Alias: Login-AzureAsAccount