Using Power Automate To Get the Logged In User Groups & Roles for Power Apps

How to use Power Automate to check users associated groups and custom roles based on the group from SharePoint list from Power Apps.