Symptoms
The following error is shown when trying to login to Tenant Portal of WAP subscription:
[AZURE] {"Code":"SubscriptionAdminCannotBeCoAdmin","Message":"The subscription owner cannot be a co-admin of his/her own subscription.","Details":[]}
Cause
Due to CCU-8119: E-mail of customer's administrative user was changed, and it led to broken integration between POA and WAP Tenant Portal
Resolution
CCU-8119 will be fixed in future updates of WAP APS package.
To workaround the issue, please do the following:
Note the ID of WAP subscription shown in CCP > Azure Pack Services, section 'Windows Azure Pack Subscriptions' (let it be 741e99fb-a99a-4a33-b697-471fc1992b30)
Login to POA MN and execute the following command:
# curl -k -E /usr/local/share/WAP/wap.pem https://0.0.0.0:6308/aps/2/resources/741e99fb-a99a-4a33-b697-471fc1992b30 > /tmp/s001
Open the file
/tmp/s001
, locate the old e-mail of user (i.e. the one that was associated with this user initially) and change it to the new oneExecute the following command:
# curl -k -E /usr/local/share/WAP/wap.pem https://0.0.0.0:6308/aps/2/resources/741e99fb-a99a-4a33-b697-471fc1992b30 -X PUT -d@/tmp/s001