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 Apps
Answered

Office365User

(0) ShareShare
ReportReport
Posted on by 640

Hello People,

 

I am trying to use Office 365 User connector to restrict button visibility to people who are marked as a manager in office 365 hierarchy.

 

If the app user is a manger then only he or she should be able to see that button.

 

Thanks,

Omi

 

 

Categories:
I have the same question (0)
  • Verified answer
    kbilakanti Profile Picture
    315 on at
    Hi,
     
    Please use this formula:
    If
    (IsBlank(Office365Users.ManagerV2(User().Email)),DisplayMode.Edit,Disabled)
     

    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • omi18 Profile Picture
    640 on at

    Hi @kbilakanti ,

     

    Somehow formula which you suggested is not working the way I want. Do you have any other way around?

     

    Thanks,

    Omi

  • kbilakanti Profile Picture
    315 on at

    @omi18 Can I know what's the way that you want, so that i can help you in manipulating the formula for you.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard