Check if a user is part of the Office 365 group in PowerApps.
Office365Users connector will not help you in your case, you have to use the Office365Groups
connector, and use Office365Groups.IsMember
function to check if a user is a member of an Office 365 group.
For Example, if you want to check if the current user is a member of the Office 365 group called "Development" or not use this formula
Office365Groups.IsMember("Development", User().Email)
The Office365Groups.IsMember
function will return a Boolean value of true if the user is a member of the group, or false if they are not.