Is it possible to set azure function as a hook to Azure AD B2C flow?

Khotovytskyi Gennadii 1 Reputation point
2022-12-08T21:01:10.43+00:00

Hello, trying to set some azure function as a hook in authorization flow, but found information that "Azure AD B2C does not support triggering an azure function as a hook, Azure AD B2C does support triggering a webhook when certain events occur". Is it true that no other way than webhooks to insert some custom logic in authorization/authentication flow? Where can I read more about it?

Where are all documentation about webhooks and events? I found all mentions that it was here https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-webhooks but now it 404 and there no webhooks available in search, are webhooks deprecated if so what should be used instead?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
Microsoft Security Microsoft Entra Microsoft Entra External ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2022-12-14T22:34:07.11+00:00

    Hello @Khotovytskyi Gennadii and thanks for reaching out. You can use Azure Function as callbacks for events initiated in Azure AD B2C such as sign-in, sign-up, and others, implementing API connectors, since they can POST JSON data through an HTTP request.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.