SOLVED

Creating a Team via the Graph giving "The navigation bind for the user was missing in request"

%3CLINGO-SUB%20id%3D%22lingo-sub-1929857%22%20slang%3D%22en-US%22%3ECreating%20a%20Team%20via%20the%20Graph%20giving%20%22The%20navigation%20bind%20for%20the%20user%20was%20missing%20in%20request%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1929857%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20a%20solution%20running%20for%20a%20number%20of%20months%20now%20using%20the%20Graph%20to%20create%20Teams.%26nbsp%3B%20It%20has%20been%20working%20fine%20up%20until%20recently%20(Monday%20was%20when%20we%20first%20noticed)%2C%20but%20now%20when%20we%20attempt%20to%20create%20a%20Team%20with%20an%20owner%20(using%20an%20application%20permission)%20we%20get%20the%20response%20%22The%20navigation%20bind%20for%20the%20user%20was%20missing%20in%20request%22.%26nbsp%3B%20Even%20using%20the%20very%20simple%20example%20from%20the%20documentation%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%7B%20%22template%40odata.bind%22%3A%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2FteamsTemplates('standard')%22%2C%20%22displayName%22%3A%22My%20Sample%20Team%22%2C%20%22description%22%3A%22My%20Sample%20Team%E2%80%99s%20Description%22%2C%20%22members%22%3A%5B%20%7B%20%22%40odata.type%22%3A%22%23microsoft.graph.aadUserConversationMember%22%2C%20%22roles%22%3A%5B%20%22owner%22%20%5D%2C%20%22userId%22%3A%220040b377-61d8-43db-94f5-81374122dc7e%22%20%7D%20%5D%20%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EGives%20the%20same%20response.%26nbsp%3B%20As%20far%20as%20I%20can%20tell%20there%20is%20no%20requirement%20for%20a%20navigation%20bind%20when%20specifying%20the%20members.%26nbsp%3B%20It%20also%20happens%20within%20the%20Graph%20Explorer%20using%20delegated%20permissions%20and%20if%20I%20remove%20the%20members%20specification%20the%20Team%20is%20created%20successfully.%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20assistance%20would%20be%20greatly%20appreciated.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1929857%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1930820%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Team%20via%20the%20Graph%20giving%20%22The%20navigation%20bind%20for%20the%20user%20was%20missing%20in%20reque%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1930820%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F881116%22%20target%3D%22_blank%22%3E%40RichardBegg%3C%2FA%3E%26nbsp%3BWere%20you%20able%20to%20resolve%20this%20%3F%20I%20started%20facing%20this%20issue%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1930823%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Team%20via%20the%20Graph%20giving%20%22The%20navigation%20bind%20for%20the%20user%20was%20missing%20in%20reque%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1930823%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F881116%22%20target%3D%22_blank%22%3E%40RichardBegg%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20the%20same%20error%20and%20searching%20in%20Microsoft%20documentation%20I%20found%20%3CA%20title%3D%22This%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-post-members%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%3C%2FA%3E%26nbsp%3Band%20based%20on%20it%2C%20I%20sent%20the%20request%20in%20the%20following%20way%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%7B%0A%20%22template%40odata.bind%22%3A%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2FteamsTemplates('standard')%22%2C%20%0A%20%20%22displayName%22%3A%22My%20Sample%20Team%22%2C%0A%20%20%22description%22%3A%22My%20Sample%20Team%E2%80%99s%20Description%22%2C%20%0A%20%20%22members%22%3A%5B%20%0A%20%20%20%20%20%7B%20%0A%20%20%20%20%20%20%20%22%40odata.type%22%3A%22%23microsoft.graph.aadUserConversationMember%22%2C%0A%20%20%20%20%20%20%20%22roles%22%3A%5B%20%22owner%22%20%5D%2C%20%0A%20%20%20%20%20%20%20%22user%40odata.bind%22%3A%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fusers('0040b377-61d8-43db-94f5-81374122dc7e')%22%20%0A%20%20%20%20%20%20%7D%0A%20%20%20%5D%20%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20request%20was%20success.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1930869%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Team%20via%20the%20Graph%20giving%20%22The%20navigation%20bind%20for%20the%20user%20was%20missing%20in%20reque%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1930869%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F881362%22%20target%3D%22_blank%22%3E%40LeandroJJ%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20pointer%2C%20I%20had%20thought%20I'd%20tried%20that%20but%20on%20reflection%20I%20believe%20I%20dropped%20the%20user%20off%20the%20beginning!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20had%20resolved%20that%20error%2C%20but%20I'm%20still%20unable%20to%20create%20a%20Team%20due%20to%20the%20already%20reported%20and%20being%20investigated%20issue%20with%20the%20backend%20template%20lookup%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EFailed%20to%20execute%20Templates%20backend%20request%20CreateTeamFromTemplateRequest%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EThanks%20again.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3ERichard.%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1930943%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Team%20via%20the%20Graph%20giving%20%22The%20navigation%20bind%20for%20the%20user%20was%20missing%20in%20reque%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1930943%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20you%20give%20us%20more%20info%20about%20this%20new%20issue%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi all

 

We have a solution running for a number of months now using the Graph to create Teams.  It has been working fine up until recently (Monday was when we first noticed), but now when we attempt to create a Team with an owner (using an application permission) we get the response "The navigation bind for the user was missing in request".  Even using the very simple example from the documentation:

 

 

{ "template@odata.bind":"https://graph.microsoft.com/v1.0/teamsTemplates('standard')", "displayName":"My Sample Team", "description":"My Sample Team’s Description", "members":[ { "@odata.type":"#microsoft.graph.aadUserConversationMember", "roles":[ "owner" ], "userId":"0040b377-61d8-43db-94f5-81374122dc7e" } ] }

 

 

Gives the same response.  As far as I can tell there is no requirement for a navigation bind when specifying the members.  It also happens within the Graph Explorer using delegated permissions and if I remove the members specification the Team is created successfully. 

 

Any assistance would be greatly appreciated.

 

 

5 Replies

@RichardBegg Were you able to resolve this ? I started facing this issue as well.

Best Response confirmed by RichardBegg (New Contributor)
Solution

Hello @RichardBegg,

 

I had the same error and searching in Microsoft documentation I found this and based on it, I sent the request in the following way:

 

 

 

{
 "template@odata.bind":"https://graph.microsoft.com/v1.0/teamsTemplates('standard')", 
  "displayName":"My Sample Team",
  "description":"My Sample Team’s Description", 
  "members":[ 
     { 
       "@odata.type":"#microsoft.graph.aadUserConversationMember",
       "roles":[ "owner" ], 
       "user@odata.bind":"https://graph.microsoft.com/v1.0/users('0040b377-61d8-43db-94f5-81374122dc7e')" 
      }
   ] 
}

 

 

 

The request was success.

Hi @LeandroJJ 

 

Thanks for the pointer, I had thought I'd tried that but on reflection I believe I dropped the user off the beginning!

 

It had resolved that error, but I'm still unable to create a Team due to the already reported and being investigated issue with the backend template lookup:

 

Failed to execute Templates backend request CreateTeamFromTemplateRequest
 
Thanks again.
 
Richard.

Can you give us more info about this new issue? 

@LeandroJJ

 

This is the issue I've found relating to it is:

 

https://github.com/microsoftgraph/microsoft-graph-docs/issues/10777

 

Happens with education Teams.  As long as I dont specify the visibility I have found it succeeds.