web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting {"errorMessage...
Power Automate
Answered

Getting {"errorMessage":"Command timed out after 30 seconds"}

(1) ShareShare
ReportReport
Posted on by 6
I have a powerautomate flow where that creates and assignes users to groups and DL in office 365, The assiging of user to Groups and DLs is done via powershell scrip, but for some reason with Microsoft 365 Groups I get the following error  {"errorMessage":"Command timed out after 30 seconds"}  ,  It works fine with DL ans securtiy groups.
Tried a few things but get the same error.
Has anyone else seen this error aswell ?
 
Thanks
 
Bes
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi
     
    Nope haven't.
  • Verified answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    • In Power Automate, select the action where you run the PowerShell script.
    • Go to the Settings of that action.
    • Under Retry Policy, choose Exponential or Fixed Interval retry.
    • Set the retry count and interval between retries to allow sufficient time for the operation to succeed.
  • besion Profile Picture
    6 on at
    Thanks SaiRT14
     
    That fiksed the issue, just choose Fixed Interval and set Count to 6 and Interval PT50S .
     
    best 
     
    Bes

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard