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

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (26,157)