Showing results for 
Search instead for 
Did you mean: 
New Member

Error when creating a MS-Team

Trying to create a MS-Team with PowerApps when using:


MicrosoftTeams.CreateATeam("Some Team Name", "Some Team Display Name")


I get the error:

MicrosoftTeams.CreateATeam failed: {"error": "This action has been temporarily disabled."}


Tried to do it via Power Automate and get the same error.


What am I missing?


Community Support
Community Support

Hi @dneiding :

I'v made a same test and encounted the same problem.The information I got from the Dev team is:

For security reasons, this action is currently disabled.
The following is the response from the development team:
"As the error message indicates, we had to disable this action. There is a security issue with the underlying graph API that was being called so we are disabling the action until the graph api is patched "

Best Regards,


Is there any information about when this feature will be available? I'm searching this issue all this morning. I just remembered it was available on Monday, but just disappeared this morning. That's so weird...😖

Hi @Zhangzhonghao :

I don't know the exact time to fix the action. During this period you can try:
1. Submit your ideas in the following forums: 
2. Try custom connection (I'm not sure if this can be achieved)

Best Regards,


Hi @v-bofeng-msft ,

Thanks for your replying.

You are right, I'm looking at the custom connection to call the Microsoft Graph API to create a team, but seems a little difficult to me... Hope this action can be fixed as soon as possible.




Hi @v-bofeng-msft,

Is the graph API to create a team available now? I tried to call the API using a HTTP action in Power Automate as the below picture showed. I got an unknown error. Any ideas?





Hi @Zhangzhonghao :

I suggest that you can find answers in the following communities:

In addition, I found an article that might help you:

Best Regards,


@v-bofeng-msft It's so nice of you! I'll take a look at the article you provided below. Thanks again!

Hi @v-bofeng-msft, I was studying the graph api these days and trying to call create team api in flow. But I hit a bad request error when calling it from graph explorer. I am wondering if you can contact the graph api dev team to confirm if this API still works since I  just copied the official example. Very appreciate if you could help! I'm stucking in this issue for few days.😔 Here is the link for this issue: ,



Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,899)