aequos-solutions/modern-data-visualizer

[QUESTION] MultiGeo Environment License

Closed this issue · 6 comments

We recently enabled multi geo environments for sharepoint online. When we tried to deploy the app package in satellite location, we are getting license expired error.
Do we need to To setup a standalone license for all satellite locations? is the same license key will work for all satellite geo locations. Please let us know.

https://aequos-solutions.github.io/modern-data-visualizer/setup_standalone/

Laul0 commented

Hello @pravin080317,

The license key works per Tenant. In other words, if the Tenant ID is not the same on the satellite, the license can't work; you need a license per satellite.

The tenant id is same same for both the environments. please find the image below. can we follow the same steps (by referring the below link) to activate it for geo? (https://aequos-solutions.github.io/modern-data-visualizer/setup_standalone/)

Laul0 commented

Hi @pravin080317,

It is not like this I would check the ID of your Tenant because in your case, you are checking a user and of course, if your users are managed in the same environment, you have only one Tenant ID for them, but it is not necessarily the case for your SharePoint site.

Here is a post that introduces you to several ways to check a Tenant ID and I would use the REST API solution:https://blog.lsonline.fr/2019/09/02/how-to-get-your-microsoft-365-tenant-id/#rest-api-url

About your documentation link, as is mentioned, it is a method to avoid requesting our servers to check your license validity. Indeed, this solution works for Lifetime licensing only. If you do not configure your environment with a Storage Entity, the MDV's Web Part will check the license validity from our server and if you configure your environment, you will skip the validation and avoid a request and win load time.

Hi,

We have followed the above post and found that the tenant id is same for both default location and satellite geo location.
Please let us know if the tenant id is same, can we configure the geo location tenant to set m365 spo storageentity and activate the license for satellite geolocation same as default location. If we set the storage entity and configure the licence key for geo location tenant will it affect the default location license. Please let us know.

Using Rest api url to find tenant id:

Default location:
https://apollomgt.sharepoint.com/sites/wd/_api/SP.UserProfiles.PeopleManager/GetMyProperties

<d:Key>SPS-DistinguishedName</d:Key><d:Value>CN=8e1fdd24-a393-493b-b931-15552d33552e,**OU=*7e-2bea-4779-afad-d49b1f98d,OU=Tenants,OU=MSOnline,DC=SPODS191119,DC=msft,DC=net</d:Value><d:ValueType>Edm.String</d:ValueType

India Geo location:
https://apollomgtind.sharepoint.com/sites/enterprisesearch/_api/SP.UserProfiles.PeopleManager/GetMyProperties

<d:Key>SPS-DistinguishedName</d:Key><d:Value>CN=8e1fdd24-a393-493b-b931-15552d33552e,**OU=*7e-2bea-4779-afad-d49b1f98d,OU=Tenants,OU=MSOnline,DC=SPODS195757,DC=msft,DC=net</d:Value><d:ValueType>Edm.String</d:ValueType>

Find the Tenant ID using SharePoint Framework components, this.context.pageContext.aadInfo.tenantId._guid :

Default location:
https://apollomgt.sharepoint.com/sites/search: 0e7e-2bea-4779-afad-dc0849b1f98d*

India Geo location
https://apollomgtind.sharepoint.com/sites/Search: 0e7e-2bea-4779-afad-dc0849b1f98d*

Laul0 commented

Hi,

Can you check if a request is sent to the URL https://aequosmdvdev.azurewebsites.net/ ?
If yes, what is the status code and the Response?

Note: a localstorage key is created the first time and available for 24 hours (maybe clear the localstorage)

Laul0 commented

The license was updated on our system - your issue is solved - if the problem persists, feel free to open this issue again.