web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Offcie365User Connecto...
Power Apps
Answered

Offcie365User Connector not available

(0) ShareShare
ReportReport
Posted on by 58

Hello,

 

I have serveral apps where I use the Office365Users.Profile() to show and hide controls based on the "role" of the user in the app.

I just create variables like isAdmin, isEditor and check whether the user is in the list.

This works fine in general, but at my current bigger project the Office365User-functions are not available.

It startet with using a name-picker I frequently got errors on the selection, but worked again after a while published versions always worked just fine.

 

The line Set(MyProfile;Office365Users.MyProfile()) works in all apps but not in the current which has a lot of connectors including Teams, WordOnline, Outlook and a couple of datasources.

 

I already have deleted the Office365User connecter and reconnected it without success.

In the pane the Office365User functions aren't available and I get an error when values are pasted in.

The connector simply seems not to be available.

 

Is there any way to clear the connector cache or reset the connections?

When connections aren't loaded you simply can't use them.

 

Any help is welcome.

Thanks in advance

 

TheSec

Bildschirmfoto 2021-02-22 um 10.22.06.jpg
Categories:
  • Verified answer
    TheSec Profile Picture
    58 on at

    Found a "solution".

    I changed 

    Set(MyProfile;Office365Users.MyProfile());;

    to

    Set(MyProfile;'Office365-Benutzer'.MyProfile());;

     

    and it worked. Honestly I don't get the language localisation concepts.

    I also have to use often a semicolon instead of the comma.

    Would be nice if this gets documented and explained. 

     

    Bildschirmfoto 2021-02-22 um 11.09.04.jpg
  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    Thank you for your follow up post! I am glad you were able to figure this out and shared it here. I hope that this will prove useful to future communities users.

     

    Regards,

     

    Alex

     

    -------

     

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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard