Share via

WARNING: Some http trigger urls cannot be displayed in the output window because they require an authentication token. Instead, you may copy them from the Azure Functions explorer.

Carlos Jahir Carreño Hernandez 125 Reputation points
2023-11-09T17:10:21.0733333+00:00

When deploying the function from VS Code, I receive this warning: "WARNING: Some HTTP trigger URLs cannot be displayed in the output window because they require an authentication token. Instead, you may copy them from the Azure Functions explorer." However, when I use the URL provided under the "function" level, it already includes its token, but I'm still encountering a 403 error. What can I do?

11:33:55 AM fnIntunePowerBI: WARNING: Some http trigger urls cannot be displayed in the output window because they require an authentication token. Instead, you may copy them from the Azure Functions explorer.
[FunctionName("intunehttp")]
        public static async Task<IActionResult> Run(
            [HttpTrigger(AuthorizationLevel.Admin, "get", "post", Route = null)] HttpRequest req,
            ILogger log)
         

User's image

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


Answer accepted by question author

MayankBargali-MSFT 71,016 Reputation points Moderator
2023-11-10T05:27:45.47+00:00

@Anonymous Thanks for reaching out.

I can see that you have defined AuthorizationLevel.Admin as the Authorization level. Can you please confirm if you are using the admin key rather then the function key?

You can either can it to AuthorizationLevel.Function and validate with your function key. If you still wait to use AuthorizationLevel.Admin then make sure you are passing the admin key and not function key.

Let me know if it helps you to resolves the issue.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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