Does anyone know how to set companyName via AzureAD PoSH module?

Occasional Contributor

I'm assuming set-azureaduser would be the correct cmdlet to use. If that is the case, the documentation doesn't have any examples of how to populate attributes such as companyName. I'm able to select attributes with the following syntax: Get-AzureADUserExtension -ObjectId $UserId | select ExtensionProperty  | ConvertTo-Json or (Get-AzureADUser -ObjectId "").toJSon().


Is this attribute still read-only?


Thank you!

1 Reply

That property is only configurable via the Exchange tools afaik, so you need to use Set-User instead (or you can sync it from AD).