0

I've Created HttpTrigger Azure Java Functions, Function Name 1.ADMIN (ADMIN LEVEL Authherization)

enter image description here

Above Function Having Admin Auth, Successfully Deployed to Function app and I've Updated _master Key Value In Function App

enter image description here

But, This Function Not Working In Postman Even I use Master key and Value In Autherization Section Through Postman

enter image description here

Postman Error: 404Not Found

Please Guide me is it right way to use Admin Auth For azure Java Function or need to ADD/change any Things in Code/Function App Level?

Balu
  • 9
  • 5

1 Answers1

0

The Authorization keys for the Azure Function App Function URL should be passed in the Headers section like:

enter image description here

and the Input parameters to the Azure Functions URL should be passed in the params section like below:

enter image description here

Updated Answer

  1. Admin Level Authorization Http Trigger Function
  2. Changed its master key value to "goodmorning"

Function Run in Postman with that admin authorization key-value:

enter image description here

  • Hi Hari, I did Same.... I added Same Header in different way from Autherization section – Balu Dec 15 '22 at 16:49
  • Pass the authorization key in headers section as I have shown, not in the form of API Key in the Authorization Section. –  Dec 16 '22 at 01:42
  • Hari I did that but same Result – Balu Dec 16 '22 at 03:26
  • Can you show the screenshot of postman how you are doing/passing the parameters? –  Dec 16 '22 at 03:27
  • krishna Your Solution Not working.... I think you are Invoking Anonymous Function with Header – Balu Dec 29 '22 at 16:51
  • @Balu, updated the screen recording regarding the admin level authorization function's master value updated with the given value "goodmorning" and tested in postman –  Dec 29 '22 at 18:48