0
votes

I am not sure if I am on the right path, but I am attempting to retrieve my contacts within an Azure Function. I don't need to present a login as this is only for my account. I just want to be able to retrieve my Contacts from the Graph without having to explicitly authenticate. Is this possible? My attempts have failed and I ultimately get stuck trying to add permission...

Add Permission

When I click to add Permission, I get this error:

Error

I am trying to use AAD to authenticate. I tried creating the function within the Portal and also from VS. Any suggestions? Thanks!!

1

1 Answers

2
votes

You could follow the steps below to fix the issue.

1.Navigate to the Authentication / Authorization of your function app, click the red frame part like the screenshot.

enter image description here

  1. Go to Manage Permissions -> Add -> select the Windows Azure Active Directory API and Sign in and read user profile permission

    enter image description here

Then refresh the portal, it will work fine.

enter image description here