One of my project where we are displaying the group claims from Azure AD is failing because the user is part of a huge number of groups. Is there a way to check if the logged in user is part of a specific group and dispaly / filter the group claim to show only specific groups?
Check if a user is part of a specific group using Azure B2C claims
796 views Asked by Sandesh Segu At
1
There are 1 answers
Related Questions in AZURE-AD-B2C
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- B2C Login is showing me an error page after entering credentials. When clicked on Sign in button, it's logging me in without asking for creds
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- how to get refresh token in msal-browser Azure AD B2C login?
- Azure B2C MFA custom policy flow 'try another way'
- Azure AD B2C login getting error The redirect URI 'localhost:3001' provided in the request is not registered
- Azure AD B2C login with Microsoft identity provider error: Proof Key for Code Exchange is required for cross-origin authorization code redemption
- Azure B2C cannot use Okta as IdP via OIDC - 'Signature validation failed'
- Need to pass custom claims to B2C Custom Policy from a React Application
- How to change Azure AD User invite email template and Accept invite link, Currently it's allowing text only, can we make like HTML
- Azure PIM role activation in B2B environment
- How to prevent Login in AD B2C based on an extension claim type using User Flows
- AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type. Request origin: 'capacitor://localhost'
- azure b2c custom policy failed to get access token
- B2c tenant Creation and creation of users/apps from main tenant using terraform. Is that possible?
Related Questions in AZURE-AD-B2C-CUSTOM-POLICY
- B2C Login is showing me an error page after entering credentials. When clicked on Sign in button, it's logging me in without asking for creds
- Azure B2C MFA custom policy flow 'try another way'
- I want to created a Azure Policy User and or device base to block certain websites
- Azure B2C cannot use Okta as IdP via OIDC - 'Signature validation failed'
- Need to pass custom claims to B2C Custom Policy from a React Application
- How to prevent Login in AD B2C based on an extension claim type using User Flows
- Multiple policys sharing same key
- "An invalid OAuth response was received" from azure adb2c custom policy oauth2
- Is it possible to embed an iframe within a B2C custom website?
- How to auto redirect to Auth0 IDP from Azure AD B2C custom polcieis based on certain condition
- Unable to get custom user properties (user_id) from Auth0 in Azure AD B2C claims
- Azure AD B2C - Multi Tenant Applicatication using custom Flows
- stuck in the Bearer error="invalid_token", error_description="The signature key was not found"
- How to Pass User Input Values from One Technical Profile to Another in Azure AD B2C Custom Policy?
- Can I send emails directly from Azure AD B2C policies or do I need to utilize an external service?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If you are using Microsoft Graph API to get the group claim, you can filter with the group id like this:
Obviously this requires you to know the group id in advance. Group name is not supported to filter.
You can also get all the groups by
https://graph.microsoft.com/v1.0/users/{user id}/memberOfand filter the group name in your own code. Then return the filter result to the group claim.