Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom policy : remove facebook #1

Open
tomadj opened this issue Sep 2, 2021 · 5 comments
Open

Custom policy : remove facebook #1

tomadj opened this issue Sep 2, 2021 · 5 comments

Comments

@tomadj
Copy link

tomadj commented Sep 2, 2021

Hello Daniel,

I created a custom policy using your files (tmf-identity-ad-b2c/custom-policies).
Like you, I want use AAD B2C LocalAccount and AAD provider (Work account).

And it works very well !

However, I'm trying to delete facebook provider but without success !
I did lots of tests (remove facebook references from TrustFrameworkBase.xml and/or TrustFrameworkExtensions.xml ) but there are always errors during upload SignUpOrSignin.xml or ProfileEdit.xml.

Many people try but with no solution.

I was wondering if you too could try to delete facebook and tell me if you can do it ?

thank you

Thomas

@Daniel-Krzyczkowski
Copy link
Owner

Hi Thomas,

Just to clarify, you want to handle only local accounts, correct?
Then you can just download local accounts custom policies from the starter pack:
https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/tree/master/LocalAccounts

@tomadj
Copy link
Author

tomadj commented Sep 3, 2021

Hi Daniel,

No that would be too simple ^^

I want to delete facebook BUT KEEP the federation between Azure AD B2C and Azure AD (
so that employees can connect with their work account)

@Daniel-Krzyczkowski
Copy link
Owner

Hi Thomas,

Got it. I will try to check it but I do not want to lie that I have busy time now. I will let you know once I have something!

@michiproep
Copy link

I guess this is the most wanted and most searched for issue: Having localAccounts + one or more federated AAD (instead of facebook).
The errors with alternativeSecurityId which arise if you exclude facebook just driving me nuts.

@filipdevelter
Copy link

Apparently nobody is willing to fix this, although being such a trivial question/thing. I can understand they want to keep fb in as an example however having it so intertwined, that it makes it impossible to remove when you just want to use federation between Azure AD B2C and Azure AD is a mystery to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants