Can I use GetAzureADAppOnlyAuthenticatedContext in Azure Functions?

Jeremy Hancock
Occasional Contributor

I am trying out using SharePoint webhooks with Azure Functions. I have the webhook functioning okay, but looking at the authentication options for calling back into SharePoint, I would like to be able to use the GetAzureADAppOnlyAuthenticatedContext from the function.


I have watched the webcast on Authentication Manager;



I have 2 questions;

  1. Is it possible to use GetAzureADAppOnlyAuthenticatedContext from an Azure Function and is there any guidance if it is?
  2. What is the recommended authentication model from Azure functions to SharePoint?






2 Replies
For 2: have you considered to use the "classic" SPO App Only?

Hi, thanks for the response.


Yes, I am planning to try that, but I was hoping to work out whether the new Azure AD methods are an option in this scenario.





Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies