execute connect-SPOService powershell inside an Azure function

Iron Contributor

Hi,

 

I have MFA enabled in our tenancy.

 

I want to execute SPOService powershell inside an Azure function.

I have been using Connect-PnpOnline with thrumbprint, however, it lacks some of the operations with lists.

So, i have to use object model using SPOService.

 

Do you have a sample for authentication inside an Azure function connecting to SharePoint using SPO Service.

 

Thanks

0 Replies