Forum Discussion
Unable to Update Address in Admin Center
https://docs.microsoft.com/en-us/powershell/module/azuread/set-azureaduser?view=azureadps-2.0
Clint Oliveira I'm not trying to update a user's address. I'm trying to update the address of the Organization in Admin Center. Can I pass set-azureaduser an organization object?
- Clint OliveiraFeb 01, 2022Brass Contributorcamkerr have you tried this from the Azure admin center portal.azure.com instead of the office 365 Admin center?
https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/change-azure-account-profile#:~:text=sold%2Dto%20address-,Sign%20in%20to%20the%20Azure%20portal%20using%20the%20email%20address,new%20address%20and%20select%20Save.- camkerrFeb 01, 2022Copper ContributorJust tried it. I get a similar error with a different description when trying to save the new address: "Check your address. There appears to be an error in it." Looks like it may use the same address verification check on the back end.
- Clint OliveiraFeb 02, 2022Brass Contributor
camkerrsorry for the delay. This is what I was looking for. I used this a while ago to update billing accounts. I am not sure if this will run the same checks as the portal, however I would suggest that you give this a try before contacting Microsoft Billing. Hope this helps.
az billing account update --name "{billingAccountName}" --display-name "Test Account" --sold-to address-line1="Test Address 1" city="Redmond" company-name="Contoso" country="US" first-name="Test" last-name="User" postal-code="12345" region="WA"
https://docs.microsoft.com/en-us/cli/azure/billing/account?view=azure-cli-latest#az-billing-account-update
- Clint OliveiraFeb 01, 2022Brass ContributorSorry set-azureaduser will not work at an organization level. I had done this at an organization level in the past. I'll be at my system tomorrow will update then.