Hi There,
I am trying to use the Azure graph API (REST API with OData) to create/change users in Azure active directory. When I tried to set user's assignedLicenses or assignedPlans property, I got the following errores:
{"odata.error":{"code":"Request_BadRequest","message":{"lang":"en","value":"Property 'assignedPlans' is read-only and cannot be set."},"values":null}}
{"odata.error":{"code":"Request_BadRequest","message":{"lang":"en","value":"Property 'assignedLicenses' is read-only and cannot be set."},"values":null}}
Is this by design or is it a bug with the Azure graph API?
If it is by design, then how could I assign licenses to Azure users?
Regards,
J Li