I have a flow that sends an email upon a SharePoint item being modified.
I turned it off to run a PnP PowerShell script to update the list.
Then I turned it back on -- and it sent out hundreds of emails.
But it was off when I ran the script, and I didn't turn it back on until the script was completed (and maybe a minute or more afterward).
Has this happened to anyone else? What did I do wrong? Why did it trigger even though it was off?