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

Community site session details

Session Id : O4S9LbRj0p4ABxH8j8+J1G
Power Automate - Using Connectors
Answered

Error message using MS Graph Create a Team

Like (0) ShareShare
ReportReport
Posted on 14 Jul 2022 12:53:14 by 817

Hi All,

I have a flow that created a MS team when requested by the user via Power App. Everything worked when I tested the flow, but after that, I keep getting this error message on CreateATeam step.

 

Radoslavov_0-1657802915915.png

Radoslavov_0-1657803092172.png

{
  "error": {
    "code""BadRequest",
    "message""Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url: https://teams.microsoft.com/fabric/emea/templates/api/team, Request Method: POST, Response Status Code: BadRequest, Response Headers: Strict-Transport-Security: max-age=2592000\r\nx-operationid: cc9dc27f2daa4a40ae5f6ef6b445951e\r\nx-telemetryid: 00-cc9dc27f2daa4a40ae5f6ef6b445951e-40032a234fdf1740-00\r\nX-MSEdge-Ref: Ref A: B7C2163BAF2D4C6D9A8CA7314163BDF4 Ref B: DB3EDGE2617 Ref C: 2022-07-13T13:09:47Z\r\nDate: Wed, 13 Jul 2022 13:09:47 GMT\r\n, ErrorMessage : {\"errors\":[{\"message\":\"Error when calling Middle Tier. Message: ''. Error code: 'AadGroupCreationLimitExceeded'. Status code: BadRequest.\",\"errorCode\":\"Unknown\"}],\"operationId\":\"cc9dc27f2daa4a40ae5f6ef6b445951e\"}",
    "innerError": {
      "message""Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url: https://teams.microsoft.com/fabric/emea/templates/api/team, Request Method: POST, Response Status Code: BadRequest, Response Headers: Strict-Transport-Security: max-age=2592000\r\nx-operationid: cc9dc27f2daa4a40ae5f6ef6b445951e\r\nx-telemetryid: 00-cc9dc27f2daa4a40ae5f6ef6b445951e-40032a234fdf1740-00\r\nX-MSEdge-Ref: Ref A: B7C2163BAF2D4C6D9A8CA7314163BDF4 Ref B: DB3EDGE2617 Ref C: 2022-07-13T13:09:47Z\r\nDate: Wed, 13 Jul 2022 13:09:47 GMT\r\n, ErrorMessage : {\"errors\":[{\"message\":\"Error when calling Middle Tier. Message: ''. Error code: 'AadGroupCreationLimitExceeded'. Status code: BadRequest.\",\"errorCode\":\"Unknown\"}],\"operationId\":\"cc9dc27f2daa4a40ae5f6ef6b445951e\"}",
      "code""BadRequest",
      "innerError": {},
      "date""2022-07-13T13:09:48",
      "request-id""9e717d71-db05-4a84-a7e0-ef61c027146f",
      "client-request-id""9e717d71-db05-4a84-a7e0-ef61c027146f"
    }
  }
}
 
Anyone knows what is even that Error code: 'AadGroupCreationLimitExceeded' mean?
Has anyone faced anything like that before and know a workaround or solution?
 
Regards,
Kiril
  • Verified answer
    Radoslavov Profile Picture
    817 on 18 Jul 2022 at 07:10:25
    Re: Error message using MS Graph Create a Team

    Hi, @v-qiaqi-msft I found that the problem is the user's limit even though I'm using Graph API the Azure App is using Delegated permission instead of application one, which is why I'm hitting the 250 teams user's limit. I'm planning to change the permission type to application and see if this will solve the problem if so I will post it here for references in case anyone has the same issues.

  • v-qiaqi@microsoft.com Profile Picture
    on 18 Jul 2022 at 02:45:43
    Re: Error message using MS Graph Create a Team

    Hi @Radoslavov,

    Based on your error message, I think you have reached the limit exceed of the MS Teams.

     

    You could check the limits listed as below, for more details, you could check the following doc:

    https://docs.microsoft.com/en-us/microsoftteams/limits-specifications-teams

    vqiaqimsft_0-1658111826544.png

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics