{"id":36829,"date":"2019-05-24T06:00:43","date_gmt":"2019-05-24T13:00:43","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/premier-developer\/?p=36829"},"modified":"2019-05-15T13:29:23","modified_gmt":"2019-05-15T20:29:23","slug":"using-groups-in-azure-ad-b2c","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/using-groups-in-azure-ad-b2c\/","title":{"rendered":"Using Groups in Azure AD B2C"},"content":{"rendered":"<p>In this post, Sr. Consultant <a href=\"https:\/\/www.linkedin.com\/in\/marius-rochon-30200687\">Marius Rochon<\/a> shows how to configure Azure AD B2C to return Group claims in JWT Tokens.<\/p>\n<hr \/>\n<p>Out-of-the-box AAD B2C does not expose any functionality related to Security Groups. They exist as an entity type and can be accessed via the regular Azure AD portal blade but there are no features for including user group membership in a token issued as a result of a user flow. To use Groups you will need to add some custom code through custom (IEF) policies. Here is a description of how I accomplished that.<\/p>\n<p>Continue reading <a href=\"https:\/\/mrochon.azurewebsites.net\/2019\/05\/06\/using-groups-in-azure-ad-b2c\/\">here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Accessing Groups claims in Azure AD B2C requires adding some custom code through custom (IEF) policies. This post shows how to configure AD B2C IEF policies to access Groups in JWT Tokens.<\/p>\n","protected":false},"author":582,"featured_media":37840,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25,96,55],"tags":[69,58,3],"class_list":["post-36829","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-security","category-web","tag-azure-ad","tag-security","tag-team"],"acf":[],"blog_post_summary":"<p>Accessing Groups claims in Azure AD B2C requires adding some custom code through custom (IEF) policies. This post shows how to configure AD B2C IEF policies to access Groups in JWT Tokens.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/36829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=36829"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/36829\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/37840"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=36829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=36829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=36829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}