No kidding re: the evolving nature of Functions. It's hard to keep up with the constant changes, but we're trying to do our best. Have you looked into using the consumption tier for Azure API Management to do this? It's the path we recommend for API related workloads:
APIM supports AAD B2C out of the box. You essentially will throw a proxy in front of your Function via APIM, and then leverage the capabilities APIM provides. You can link/create a new APIM instance via the Azure Functions portal blade (it's under "API Management"), which would be the fastest way to spin up a new API that's linked to your function app.
I understand it may seem counterintuitive to spin up a new service for a single feature, but IMO, using API Management for throttling, authentication/authorization, etc, is a nice way to abstract those details and establish a good foundation for the future.
Would love to hear your thoughts re: if this is overkill for you or not.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Liam!
No kidding re: the evolving nature of Functions. It's hard to keep up with the constant changes, but we're trying to do our best. Have you looked into using the consumption tier for Azure API Management to do this? It's the path we recommend for API related workloads:
Secure an Azure API Management API with Azure AD B2C
APIM supports AAD B2C out of the box. You essentially will throw a proxy in front of your Function via APIM, and then leverage the capabilities APIM provides. You can link/create a new APIM instance via the Azure Functions portal blade (it's under "API Management"), which would be the fastest way to spin up a new API that's linked to your function app.
I understand it may seem counterintuitive to spin up a new service for a single feature, but IMO, using API Management for throttling, authentication/authorization, etc, is a nice way to abstract those details and establish a good foundation for the future.
Would love to hear your thoughts re: if this is overkill for you or not.