< Back

Get-AzureRmApiManagementUserSsoUrl

Tue Jan 29, 2019 9:29 pm

NAME Get-AzureRmApiManagementUserSsoUrl



SYNOPSIS

Generates an SSO URL for a user.





SYNTAX

Get-AzureRmApiManagementUserSsoUrl -Context <PsApiManagementContext> [-DefaultProfile <IAzureContextContainer>] -UserId <String>

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmApiManagementUserSsoUrl cmdlet generates a single sign-on (SSO) URL for a user.





PARAMETERS

-Context <PsApiManagementContext>

Specifies a PsApiManagementContext object. This parameter is required.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-UserId <String>

Specifies a user ID. This parameter is required.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

string







NOTES









Example 1: Get a user's SSO URL



PS C:\\>$apimContext = New-AzureRmApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"

PS C:\\>Get-AzureRmApiManagementUserSsoUrl -Context $apimContext -UserId "0123456789"



This command gets a user's SSO URL.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... userssourl

Get-AzureRmApiManagementUser