An Azure service that provides an event-driven serverless compute platform.
Hi @Kim Strasser ,
When you switch your HTTP‐triggered Azure Function from AuthorizationLevel.Anonymous to AuthorizationLevel.Function, the runtime will require a valid function key on every call.
In practice that means:
- Yes, you do need to update the “Function URL” you registered in PlayFab to include your function’s key.
- Grab the full URL from the Azure portal (your Function App → your function → “Get Function URL”). It will look something like:
https://<your‐app>.azurewebsites.net/api/TestFunction?code=<your‐function‐key> - Paste that full URL into PlayFab’s Register Function dialog as the “Function URL.”
- PlayFab will then automatically invoke your function with the right key. Without the ?code=… portion you’ll get 401 Unauthorized.
Hope this helps!
If the resolution was helpful, kindly take a moment to click on and click on Yes for was this answer helpful. And, if you have any further query do let us know.