Forum Discussion

kevingeorget's avatar
kevingeorget
Brass Contributor
Aug 02, 2023

Azure function app- Powershell runtime stack

Hello community,

Can anyone please help me with the query i have.

I have a Azure Powershell function app set up in my environment. i have 2 timer triggered functions say F1 and F2 running at 5 mins interval. They both are connecting to 2 different SharePoint sites with the same tenant using Connect-PnPOnline with Client Id and Certificates.

Issue is that both of them are conflicting the run of the other function when running.

Errors i get-

Save conflict. Your changes conflict with those made concurrently by another user.

OR

List 'X' is not present in the site F2

 

 

My understanding is the function even though are in the same App can run independently of each other as separate instances.

Is there a way other than updating the apps to run at 2 different times to fix this issue?

  • Warwick Ward's avatar
    Warwick Ward
    Bronze Contributor
    If you are connecting to two different sites, it must be related to something else.

Resources