How can i use azure ad b2c in azure function?

Hegel 6 Reputation points

i want to use azure ad b2c to manage authentication. i searched the internet and find the documents here:

but i still do not know how i can use azure ad b2c in my azure functions. For example how can i get the email address of the logined user who send request to the azure function? Thank you!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,998 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,621 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. James Hamil 20,661 Reputation points Microsoft Employee

    Hi @Hegel , have you looked into Application Insights? You can monitor your azure functions this way. Please let me knoe if you have any questions!


  2. Indul Hassan 1 Reputation point

    Hello Hegel,

    Have you managed to use the filters in AppInsights or used query to find the user or respective information?
    You can add alerts accordingly or may implement some sort of notifications using custom mode.

    With Regards,

    0 comments No comments

  3. Vineet Kumar Gupta 161 Reputation points

    For authenticating outside user from your domain you can add identity provider in your Azure Function and for while inviting guest account would recommend to create a group and add all your guest users in that group and then add that users group to azure function in *Access Control *
    I hope this will fix the issue .

    0 comments No comments