[GH-ISSUE #783] BUG: "License assignment cannot be done for user with invalid usage location" #390

Closed
opened 2026-03-02 12:41:51 +03:00 by kerem · 2 comments
Owner

Originally created by @jsmithschilling on GitHub (Feb 23, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/783

Describe the bug
When adding a license to a User through Identity Management > Administration > Users
Error after hitting Edit User

Error - "License assignment cannot be done for user with invalid usage location"

To Reproduce
Steps to reproduce the behavior:

  1. Identity Management
  2. Administration
  3. Users
  4. Edit User
  5. Assign License
  6. Edit User

Expected behavior
License to be assigned to user

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version [e.g. 22]

Is there something else that needs to be added in order to assign the license?

Originally created by @jsmithschilling on GitHub (Feb 23, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/783 **Describe the bug** When adding a license to a User through Identity Management > Administration > Users Error after hitting Edit User Error - "License assignment cannot be done for user with invalid usage location" **To Reproduce** Steps to reproduce the behavior: 1. Identity Management 2. Administration 3. Users 4. Edit User 5. Assign License 6. Edit User **Expected behavior** License to be assigned to user **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: Windows - Browser Chrome - Version [e.g. 22] Is there something else that needs to be added in order to assign the license?
kerem 2026-03-02 12:41:51 +03:00
Author
Owner

@KelvinTegelaar commented on GitHub (Feb 23, 2022):

Just like on the m365 portal the usage location is required, you most likely left this blank.

<!-- gh-comment-id:1049237868 --> @KelvinTegelaar commented on GitHub (Feb 23, 2022): Just like on the m365 portal the usage location is required, you most likely left this blank.
Author
Owner

@homotechsual commented on GitHub (Feb 23, 2022):

Tip: Set the default value in settings!

<!-- gh-comment-id:1049246607 --> @homotechsual commented on GitHub (Feb 23, 2022): Tip: Set the default value in settings!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#390
No description provided.