Set-PnPSite -LogoFilePath in Azure Function App

New Contributor

Hi All,

 

I have created an Azure Function App to set the logo of a Modern Team Site  that is triggered by a Site Design. The function runs without any errors but the below line doesn't do anything?

 

Set-PnPSite -LogoFilePath "D:\home\site\wwwroot\InvokePnPSiteTemplate\logo.jpg"
 
If I run the same command from my local machine it works as expected?

Can someone tell me why the above Set-PnPSite -LogoFilePath doesn't work from a FunctionApp?
0 Replies