{"id":38895,"date":"2020-04-11T09:37:45","date_gmt":"2020-04-11T16:37:45","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/premier-developer\/?p=38895"},"modified":"2020-03-26T09:45:55","modified_gmt":"2020-03-26T16:45:55","slug":"b2c-identity-experience-framework-getting-started","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/b2c-identity-experience-framework-getting-started\/","title":{"rendered":"B2C Identity Experience Framework &#8211; getting started"},"content":{"rendered":"<p>Premier Dev Consultant <a href=\"https:\/\/www.linkedin.com\/in\/marius-rochon-30200687\" target=\"_blank\" rel=\"noopener noreferrer\">Marius Rochon<\/a> shares his GitHub samples to help you get started with Azure B2C and Identity Experience Framework.<\/p>\n<hr \/>\n<h3><a id=\"user-content-purpose\" class=\"anchor\" href=\"https:\/\/github.com\/mrochon\/b2ciefsetup#purpose\" aria-hidden=\"true\"><\/a>Purpose<\/h3>\n<p>Configures an existing B2C tenant for use with Identity Experience Framework custom policies. Performs all tasks defined in the <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory-b2c\/custom-policy-get-started?tabs=applications\" rel=\"nofollow\">get started<\/a> document <strong>except<\/strong> <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory-b2c\/custom-policy-get-started?tabs=applications#create-the-facebook-key\" rel=\"nofollow\">creating a Facebook signing key<\/a> required by some <a href=\"https:\/\/github.com\/Azure-Samples\/active-directory-b2c-custom-policy-starterpack\">starter policies<\/a>.<\/p>\n<h3><a id=\"user-content-usage\" class=\"anchor\" href=\"https:\/\/github.com\/mrochon\/b2ciefsetup#usage\" aria-hidden=\"true\"><\/a>Usage<\/h3>\n<p>The application is <a href=\"https:\/\/b2ciefsetup.azurewebsites.net\/\" rel=\"nofollow\">deployed and ready to use<\/a>:<\/p>\n<ol>\n<li>Enter the name of your B2C tenant<\/li>\n<li>Sign-in with an account with admin privileges in that tenant (account that was used to create the tenant has these by default)<\/li>\n<li>AzureAD will ask you to consent to the application having the ability to create objects in your tenant (applications, keys)<\/li>\n<li>Once you consent, the application will check whether your tenant has all the objects named in the <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory-b2c\/custom-policy-get-started?tabs=applications\" rel=\"nofollow\"><em>Get started<\/em><\/a><\/li>\n<li>If these objects, do not exists, the application will create them (2 applications, 2 service principals and two keys)<\/li>\n<li>The final screen will display the relevant application ids needed in the IEF policies.<\/li>\n<li>If the application did not exist already, the final screen will provide a url link you should use to complete admin consent for the new applications to use each other <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory-b2c\/custom-policy-get-started?tabs=applications#register-the-proxyidentityexperienceframework-application\" rel=\"nofollow\">item 9 in the Get started<\/a><\/li>\n<li>You can use the Enterprise Apps option of the Azure portal&#8217;s AAD blade to remove the B2CIEFSetup service principal from your tenant (optional).<\/li>\n<\/ol>\n<p>Once done, you can use some <a href=\"https:\/\/github.com\/mrochon\/b2cief-upload\">PowerShell tools<\/a> to prepare your policies, edit them using VS Code with the <a href=\"https:\/\/github.com\/azure-ad-b2c\/vscode-extension\">B2C extension<\/a> and upload them to the B2C tenant.<\/p>\n<p>For your convenience, these samples are shared on <a href=\"https:\/\/github.com\/mrochon\/b2ciefsetup\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This sample configures an existing B2C tenant for use with Identity Experience Framework custom policies. It performs all tasks defined in the getting started document except creating a Facebook signing key required by some starter policies.<\/p>\n","protected":false},"author":582,"featured_media":38586,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25],"tags":[1131,9509,266,3],"class_list":["post-38895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","tag-b2c","tag-identity-experience-framework","tag-marius-rochon","tag-team"],"acf":[],"blog_post_summary":"<p>This sample configures an existing B2C tenant for use with Identity Experience Framework custom policies. It performs all tasks defined in the getting started document except creating a Facebook signing key required by some starter policies.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/38895","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=38895"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/38895\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/38586"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=38895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=38895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=38895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}