cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
carrierk7
New Member

Azure Function 401 Error

I keep getting a 401 Error when trying to connect to an Azure Function.  I have followed this tutorial but when I test I get the 401 error.

https://powerapps.microsoft.com/en-us/blog/using-azure-functions-in-powerapps/

 

 Capture.PNG

3 REPLIES 3
v-micsh-msft
Community Support
Community Support

Hi @carrierk7,

 

There should be changes made under the authentication part.

By default, when you create this function, it will start with the function (key) for the Authorization level. Please take a try to switch the Authorization level to Anonymous, this should allow the function to work.

24.PNG

In addition, you may have interest reading the blog below:

Build Custom API on Microsoft Flow and PowerApps with Authentication

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-micsh-msft
Community Support
Community Support

Hi @carrierk7,

What is your current situation?

 

Do you need any further assistance on this issue?

 

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I was getting the same error. Setting the Authorization level to Anonymous resolved the issue.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,768)