cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
omi18
Level: Powered On

Office365User

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
kbilakanti
Level 8

Re: Office365User

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."

View solution in original post

3 REPLIES 3
kbilakanti
Level 8

Re: Office365User

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."

View solution in original post

omi18
Level: Powered On

Re: Office365User

Hi @kbilakanti ,

 

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

 

Thanks,

Omi

kbilakanti
Level 8

Re: Office365User

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

Helpful resources

Announcements
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,934)