-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
I want to add a new License to a user:
newLicense := msgraph.AssignedLicense{
SKUID: &skui,
}
_, err = p.graphClient.Users().ID(*user.ID).AssignLicense(&msgraph.UserAssignLicenseRequestParameter{
AddLicenses: []msgraph.AssignedLicense{newLicense},
RemoveLicenses: []msgraph.UUID{},
}).Request().Post(p.ctx)
I Get this response:
400 Bad Request: {"error":{"code":"Request_BadRequest","message":"Cannot convert a primitive value to the expected type 'Edm.Guid'. See the inner exception for more details.","innerError":{"date":"2020-04-16T22:07:51","request-id":"7d9ce15b-053c-47da-9bc7-c19eb0335462"}}}
what I am doing wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels