cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dneiding
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?

 

8 REPLIES 8
v-bofeng-msft
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,

Bof

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:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas 
2. Try custom connection (I'm not sure if this can be achieved)

Best Regards,

Bof

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.

 

Thanks,

 

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?

Capture.PNG

 

 

Thanks! 

Hi @Zhangzhonghao :

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

https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

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

https://www.lee-ford.co.uk/new-team-request-for-teams-using-flow-and-graph-api/

Best Regards,

Bof

@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: https://github.com/microsoftgraph/microsoft-graph-docs/issues/9682 , https://stackoverflow.com/questions/63608279/badrequest-when-calling-graph-create-team-api

 

Thanks!

Helpful resources

Announcements
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

secondImage

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

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (20,896)