Hi everyone,
I hope you're all doing well. I'm currently developing a flow in Power Automate to manage virtual machines (VMs) in a machine group based on the presence of items in a queue. The intended functionality of the flow is as follows:
During the development of this flow, I'm encountering an "Authentication failed" error when trying to authenticate and retrieve data from the Power Automate API. Here’s a brief outline of the steps and configurations I have implemented:
I have ensured that the client credentials are correct and have sufficient permissions.
Maybe there is another way to do this on a easier way, I just wanted to reduce costs of my VMs that sometimes, just stay "idle" for a while.
Could anyone help me resolve this issue? Any guidance or suggestions to troubleshoot this authentication error would be greatly appreciated.
Thanks for your support!
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2