Quantcast
Viewing all articles
Browse latest Browse all 10280

Problem with .getOrgUniqueName() in Office365

Hi,

I'm having a problem with the client side getOrgUniqueName() method. The organization is created from the Office 365 portal and uses ADFS integration.

The problem is that the method does not return the name of the organization as shown in the address bar (and also return by .GetClientUrl() for example), but instead it returns the temporary name that was initially assigned by the Office 365 CRM management tool. I didn't create the organization but from what I was told it was first assigned a temporary name = {company_name}0 and then it was possible to rename it what it is called now.

Example:

The org was created initally as supercompany0

Then it was renamed to supercompanytest - and this is what the address is https://supercompanytest.crm4.dynamics.com

But the .getOrgUniqueName() method returns "supercompany0" instead.

I probably could use the .getClientUrl() method and do some string replacements to get the org name, but that doesn't seem like a very stable and professional solution.

Has someone else encountered this issue and solved it?

Thanks!
Łukasz



Viewing all articles
Browse latest Browse all 10280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>