cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

How to I get the Organisation Name that the signed in user belongs to.

I know that the Office365Users.SearchUser() funtion lets me see information relating to the user, as found in https://admin.microsoft.com/AdminPortal/Home#/users

BUT...

I'm trying to get the Organisation Name, as found in https://admin.microsoft.com/AdminPortal/Home#/Settings/OrganizationProfile/:/Settings/L1/Organizatio...

(see attached screenshot)

How do I capture this so that, if it is changed, the app will display that updated name.

I'd like to make it a default value of a text input box.

 

Thanks!

 

2 REPLIES 2
Highlighted
Microsoft
Microsoft

Re: How to I get the Organisation Name that the signed in user belongs to.

Hello,

 

I am not aware of any out-of-the-box way of displaying the organization name.

Usually Office 365 Organization Names does not change that often, so curious to know why do you want the organization name to be dynamically displayed on the app.

 

 

Thanks and Best Regards,

Community Support Team _Rohit Sharma

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper I
Helper I

Re: How to I get the Organisation Name that the signed in user belongs to.

Hi @rohsh354 

 

Thanks for your response.

 

I'm going to use it in an app on Azure Directory B2B for our clients to access. This way, regardless of client it can pick up, and display, their organisation in the app when they open it.

 

Since we can access user info, it seems like a reasonable expectation to access the organisation name.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,423)