Azure Function app authentication with azure ad on separate account

Benjamin Charlton 1 Reputation point
2021-10-19T04:31:35.523+00:00

I'm struggling to understand how to introduce authentication to secure the API's i have created using azure. On one account, i have a function app with a number of functions (httptriggers) acting as API's. This account does not have access to azure AD however, so i have got a tenant on another account set up.

How can i add an auth flow to secure the triggers?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,299 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,559 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Achraf Ben Alaya 976 Reputation points MVP
    2024-03-24T09:34:28.74+00:00

    Hi, you need to upgrade your app registration to utilize a multi-tenant app if you want to use another tenant with the one you previously created.Check out the following link :

    https://learn.microsoft.com/en-us/azure/app-service/configure-authentication-provider-aad?wt.mc_id=MVP_328341&tabs=workforce-tenant

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    0 comments No comments