[Resolved] License cannot be assigned to a user without a usage location specified – While adding Guest user

While adding Guest user and assigning license you may get the below error.

If you click the link it will open details and show the below error as The user is without a usage location specified.

Resolution
Click on Profile link and click Edit.

In the settings area and choose Usage location and Save.

Now try to assign license it will work fine.