Need help on assigning o365 license from ServiceNow flow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 01:06 AM
{ "Action Status": { "code": 1, "message": "Error: Unknown Error (Process Automation.17308fbf77816110cc985228c81061df; line 5)" } }
Integrated ServiceNow with Azure AD using spoke. I am able to create a user from the flow using create user trigger (RITM) but not able to assign license.
Labels:
- Labels:
-
Architect
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2024 03:56 PM
The two things I learned when using this action:
1. As already noted, User ID can be the UserPrincipalName (example@company.org), but the SKU ID should be the GUID for the product
2. Make sure your user has Usage Location already set before assigning a licence - you may need to use the Update User action for that.