Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

What is 'myorg' mean in the Rest API?

It sort of looks like I'm supposed to to replace it with my company name.  But all the examples seem to leave it as 'myorg',  It's seems really odd like that.

 

Anyone know?

 

 

3 REPLIES 3
EGobi
Frequent Visitor

myorg is a placeholder for your organization's Entra ID UPN suffix. UPN stands for User Principal Name, and it's basically your email if your organization uses it. So, if you want to work across tenants, like @BizIntel said, simply change myorg by what comes after the @ in your email.

 

If your tenant doesn't use email and you're an Azure admin, you can check the UPN here: Plan and troubleshoot User Principal Name changes in Microsoft Entra ID - Microsoft Entra ID | Micro...

 

So imagine your login for tenant 1 is worker@enterprise.com, and your login for tenant2 is student@university.com. You'll change myorg to enterprise.com when connecting to their Power BI and univesity.com when connecting to the latter's Power BI.

 

I consider changing myorg a good practice even if you only work in one tenant. If someone else uses your file with this in the connection string and they have a common name for a workspace across tenants, they may end up successfully connecting to the wrong workspace if their current login is in the other tenant.

BizIntel
Frequent Visitor

If working across tenants, I need to specify where I'm calling to.  What can be used to replace "myorg"?

v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You do not need to replace it. Based on my experience, it might be used for internal management or future expansion.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

Top Solution Authors