Forum Discussion
petervankeymeulen
Mar 21, 2025Copper Contributor
Update-MgUser : Cannot convert the literal '0' to the expected type 'Edm.String'.
Dear I use the Graph API from a Power Shell script. I replaced all Azure Ad command let code in my scripts with Graph API code. I need to set the Company attribute in Azure. Users that do not have a...
JonathanDato
Mar 31, 2025Copper Contributor
Hey man, I was having the same issues with EmployeeID but I think it should be the same solution for you! I hope it helps.
-CompanyName $("'" + $Organizationid + "'")