Windows Azure Pack – The portal cannot load the management data for this resource type

Shares

Windows Azure Pack – The portal cannot load the management data for this resource type. From time to time you might end up with error when WAP cannot contact or fetch data from different parts. In my example, I I had problems with connecting to SMA – Service Management Automation.

Windows Azure pack - The portal cannot load the management data for this resource type

Windows Azure pack – The portal cannot load the management data for this resource type

Before you start you have to have installed PowerShell and run commands from one of the Windows Azure pack servers.

First what you have to do is set variable to Authentication site on port 30072. In my lab is on scwap-AdminAuth.gso.lab:30072.

PS C:\Windows\system32> $AuthSite
https://Scwap-AdminAuth.gso.lab:30072

Next step is to acquire authentication token, you will need it to be able to authenticate to Windows Azure Pack services

PS C:\Windows\system32> $token = Get-MgmtSvcToken -Type Windows -AuthenticationSite $AuthSite -ClientRealm "http://azureservices/AdminSite" -User $credential -DisableCertificateValidation

List all registered resource providers in Windows Azure Pack deployment.

PS C:\Windows\system32> Get-MgmtSvcResourceProvider -IncludeSystemResourceProviders -AdminUri $adminApiUri -Token $token -DisableCertificateValidation | Format-List -Property "Name"


Name : monitoring

Name : marketplace

Name : usageservice

Name : systemcenter

Name : cloudservices

Name : gallery

Name : sqlservers

Name : automation

In my example – it is a problem with automation resource provider. Get listed all details

PS C:\Windows\system32> Get-MgmtSvcResourceProvider -AdminUri $adminApiUri -Token $Token -Name automation

Name                              : automation
DisplayName                       : Automation
Description                       : 
Enabled                           : True
PassThroughEnabled                : True
AllowAnonymousAccess              : False
AllowMultipleInstances            : False
AdminEndpoint                     : Microsoft.WindowsAzure.Server.AdminManagement.AdminEndpoint
TenantEndpoint                    : 
UsageEndpoint                     : 
HealthCheckEndpoint               : 
NotificationEndpoint              : 
InstanceId                        : 2C28A0B5-5FFA-4CD8-955C-6B3642EBB0EA
InstanceDisplayName               : Automation
MaxQuotaUpdateBatchSize           : 5
SubscriptionStatusPollingInterval : 00:00:10
Type                              : Standard
Settings                          : {}
ExtensionData                     :

Remove automation resource provider.

PS C:\Windows\system32> Remove-MgmtSvcResourceProvider -AdminUri $adminApiUri -Token $Token -Name automation -InstanceId 2C28A0B5-5FFA-4CD8-955C-6B3642EBB0EA -DisableCertificateValidation


PS C:\Windows\system32> Get-MgmtSvcResourceProvider -IncludeSystemResourceProviders -AdminUri $adminApiUri -Token $token -DisableCertificateValidation | Format-List -Property "Name"


Name : monitoring

Name : marketplace

Name : usageservice

Name : systemcenter

Name : cloudservices

Name : gallery

Name : sqlservers

PS C:\Windows\system32>

After above steps, you can register back Service Management Automation

You can register back your SMA endpoint

You can register back your SMA endpoint

0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

You may also like...

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Pin It on Pinterest