PowerCLI cmdlet New-OAuthSecurityContext fails with "Authorized party is not valid" on vCenter Server 8.0 U2 after Configuring Azure AD
search cancel

PowerCLI cmdlet New-OAuthSecurityContext fails with "Authorized party is not valid" on vCenter Server 8.0 U2 after Configuring Azure AD

book

Article ID: 301565

calendar_today

Updated On:

Products

VMware vCenter Server 8.0

Issue/Introduction

Configuring Azure AD for authenticating on vCenter Server 8.0 U2 will be able to authenticate through the vCenter GUI but not PowerCLI. The following error appears when authenticating using the PowerCLI cmdlet New-OAuthSecurityContext: 

Authorized party is not valid

Environment

vCenter Server 8.0 U2 or higher

Cause

This is issue is caused by a limitation in internal APIs. It is currently not possible for client applications other than the vCenter GUI to authenticate using Azure AD.

Resolution

The fix will be available in the upcoming release of vCenter version. There is no workaround for this issue.