
0oaak (0oaak) asked a question.
Hello Support,
I am trying to implement a federation between Azure AD and OKTA. I am getting attached error after successful login at Azure AD B2C and then at the OKTA side when it tries to create user using JIT because the login user doesn't exist inside OKTA. Can you help me resolve this issue?

Hi @0oaak (0oaak) , Thank you for reaching out to the Okta Community!
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).
That being said, I've been looking into this and you might be missing the "email" scope according to this article - -
https://developer.okta.com/docs/guides/add-an-external-idp/azure/main/#create-an-identity-provider-in-okta
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Okta Identity Engine (OIE) Ask Me Anything: Get answers from product experts by clicking here.
Thank you for your reply. As you can see below, I have the Email added under the scope for my IdP. I followed the article and I added the email scope. What else is missing, I am still getting the same error. Please help me.
Hi @Mihai Negoita
Thank you for your reply. As you can see below, I have the Email added under the scope for my IdP. I followed the article and I added the email scope. What else is missing, I am still getting the same error. Please help me.
@0oaak (0oaak) The public forum is not ideal for in-depth troubleshooting.
I recommend opening a ticket to work with one of our Support Engineers that can review your configurations to get to the bottom of things.
--------------------------------
Okta Identity Engine (OIE) Ask Me Anything: Get answers from product experts by clicking here.