Thank you @vdamjanov , we can try with something else.
In this article (Enable location sharing—ArcGIS Online Help | Documentation) I found that "To enable location sharing, your organization must first purchase ArcGIS Location Sharing licenses. This license is included in the Mobile Worker user type and is available as an add-on for all other user types".
You can try going to your ArcGIS Online Organization>Members
Filter the user type by GIS Professional Advanced
Then Manage add-on licenses
Finally, search for User Type Extensions > add "ArcGIS Location Sharing".
Save the changes and try again,
Let me know if this worked, I hope it does!
Samuel