Symptoms

The following error is shown when trying to change settings at the page Services > Cloud Infrastructure > Windows Azure Pack > Settings:

Failed to communicate with WAP usage API

/var/log/WAP/wap.log shows the following error:

[AZURE] {"Message":"Authorization has been denied for this request."}

Cause

Usage API password is incorrect.

Resolution

It is important to enter correct Usage API password when changing settings at this page. Please make sure that you enter the same password that was specified in the command

PS> Set-MgmtSvcSetting -Namespace UsageService -Name Password -Value '<Your_Password>' -Encode

at the step 26, Section 3 (Configure Windows Azure Pack) of WAP Integration Deployment Guide

If you do not remember the password, you may re-run the above mentioned command with a new password, and then enter this new password at Services > Cloud Infrastructure > Windows Azure Pack > Settings page.

Internal content