Forum Discussion

Ali Salih's avatar
Ali Salih
Iron Contributor
Nov 16, 2017

Can SPFx webparts be used on anonymous access sites? (on-prem)

Greetings. 

 

I couldn't find a direct answer for this. As the title suggests, can you use SPFx webparts with anonymous access enabled SharePoint sites? For ex: Public facing SharePoint site, SharePoint Server 2016 with FP2.

 

Thanks. 

 

  • Ali Salih's avatar
    Ali Salih
    Iron Contributor
    Hey Folks. Just bumping this up. Any clues? Is there a limitation?
    • Kiril Iliev's avatar
      Kiril Iliev
      Brass Contributor

      In this case I would use the Graph APIs (I think they are about to be released as GA) or an Azure Function / Azure Web API (depends on the complexity of the operations) solution to make calls utilizing the Add-in context (Client ID / Client Secret).

Resources