Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"An error occurred while retrieving the list of Virtual Machine Roles" in Windows Azure Pack 2013


View products that this article applies to.

Symptoms

When you attempt to view a list of managed virtual machines (VMs) in Windows Azure Pack 2013, you receive the following error:

An error occurred while retrieving the list of Virtual Machine Roles

Additionally, searching for virtual machines may return the following error:

Virtual Machine Role Name is not available

Also, an event similar to the following may be present in the Microsoft-WindowsAzurePack-MgmtSvc-TenantSite event log:


↑ Back to the top


Cause

This error can occur if the resource provider's passwords are out of sync in the Windows Azure Pack database.

↑ Back to the top


Resolution

To resolve this issue, log on to the Windows Azure Pack AdminAPI server and run the following script in an elevated Windows PowerShell window:
$rp = Get-MgmtSvcResourceProviderConfiguration -Name 'systemcenter' -DecryptPassword
$rp.AdminEndpoint.AuthenticationPassword = <new password>
$rp.AdminEndpoint.AuthenticationUsername = <username>
Add-MgmtSvcResourceProviderConfiguration -ResourceProvider $rp -Force

Note Substitute the appropriate values for "<new password>" and "<username>."

↑ Back to the top


Keywords: kb, kbtshoot, kbsurveynew, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 2983441
Revision : 2
Created on : 3/27/2020
Published on : 3/27/2020
Exists online : False
Views : 330