Home

Issue with file library when Teams vreated with MS Graph

%3CLINGO-SUB%20id%3D%22lingo-sub-742971%22%20slang%3D%22en-US%22%3EIssue%20with%20file%20library%20when%20Teams%20vreated%20with%20MS%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-742971%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20been%20automating%20the%20creation%20of%20MS%20Teams%20using%20PowerApp%20and%20Flow%20for%20the%20past%20few%20months.%20Users%20enter%20info%20in%20PowerApp%2C%20Flow%20does%20a%20few%20MS%20Graph%20API%20calls%20that%20clones%20an%20existing%20team%20and%20adds%20some%20permissions.%20Everything%20was%20working%20great.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUntil%20this%20morning.%20The%20teams%20are%20being%20created%2C%20but%20the%20SharePoint%20libraries%20are%20not.%20If%20we%20look%20at%20the%20Team%20files%20tab%2C%20there%20is%20the%20message%20%22%3CFONT%3EWe%20are%20setting%20up%20your%20file%20directory.%20Try%20refreshing%20the%20page%20after%20a%20few%20minutes%20or%20check%20back%20later.%3C%2FFONT%3E%22%20This%20message%20never%20resolves%2C%20and%20the%20team%20site%20is%20not%20created%20in%20SharePoint.%20All%20teams%20that%20have%20been%20created%20today%20exhibit%20this%20behavior.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20if%20a%20team%20is%20manually%20created%20from%20Teams%2C%20everything%20works%20fine.%20It%20seems%20the%20issue%20is%20specific%20to%20teams%20created%20via%20MS%20Graph.%20Any%20team%20that%20I%20have%20created%20with%20MS%20Graph%20today%20has%20this%20problem.%20I%20can%20replicate%20by%20going%20to%20MS%20Graph%20and%20running%20the%20following%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQUERY%3A%26nbsp%3B%3CSPAN%3E(POST)%3C%2FSPAN%3E%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2Fxxxxxxxx-a1c1-4209-a8cb-zzzzzzzzzzzz%2Fclone%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2Fxxxxxxxx-a1c1-4209-a8cb-zzzzzzzzzzzz%2Fclone%3C%2FA%3E%3C%2FFONT%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBody%3A%3C%2FP%3E%3CP%3E%3CFONT%3E%7B%3CBR%20%2F%3E%26nbsp%3B%20%22displayName%22%3A%20%22Display%20Name%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%22description%22%3A%20%22Description%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%22mailNickname%22%3A%20%22nickname%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%22partstoclone%22%3A%20%22apps%2Ctabs%2Csettings%2Cchannels%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%22visibility%22%3A%20%22private%22%3CBR%20%2F%3E%7D%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-742971%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-742998%22%20slang%3D%22en-US%22%3ERe%3A%20Issue%20with%20file%20library%20when%20Teams%20vreated%20with%20MS%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-742998%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F372832%22%20target%3D%22_blank%22%3E%40christos2019%3C%2FA%3Ein%20my%20experience%20it%20will%20resolve%2C%20just%20takes%20some%20hours.%20If%20it%20never%20resolves%20then%20I%20would%20recommend%20creating%20a%20support%20ticket.%3C%2FP%3E%3C%2FLINGO-BODY%3E
christos2019
Occasional Visitor

We have been automating the creation of MS Teams using PowerApp and Flow for the past few months. Users enter info in PowerApp, Flow does a few MS Graph API calls that clones an existing team and adds some permissions. Everything was working great.

 

Until this morning. The teams are being created, but the SharePoint libraries are not. If we look at the Team files tab, there is the message "We are setting up your file directory. Try refreshing the page after a few minutes or check back later." This message never resolves, and the team site is not created in SharePoint. All teams that have been created today exhibit this behavior.

 

However, if a team is manually created from Teams, everything works fine. It seems the issue is specific to teams created via MS Graph. Any team that I have created with MS Graph today has this problem. I can replicate by going to MS Graph and running the following:

 

QUERY: (POST) https://graph.microsoft.com/beta/teams/xxxxxxxx-a1c1-4209-a8cb-zzzzzzzzzzzz/clone 

 

Body:

{
  "displayName": "Display Name",
  "description": "Description",
  "mailNickname": "nickname",
  "partstoclone": "apps,tabs,settings,channels",
  "visibility": "private"
}

1 Reply

@christos2019 in my experience it will resolve, just takes some hours. If it never resolves then I would recommend creating a support ticket.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies