Unable to create Microsoft Team via beta Graph https://graph.microsoft.com/beta/teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1266245%22%20slang%3D%22en-US%22%3EUnable%20to%20create%20Microsoft%20Team%20via%20beta%20Graph%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%3C%2FA%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1266245%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22box-sizing%3A%20inherit%3B%20margin%3A%2012px%200px%200px%3B%20font-size%3A%2015px%3B%20color%3A%20%23000000%3B%20font-family%3A%20SegoeUI%2C%20Lato%2C%20'Helvetica%20Neue'%2C%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20background-color%3A%20%23ffffff%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%22%3ESo%20I'm%20trying%20to%20use%20the%20beta%20Graph%20API%20to%20create%20a%20Microsoft%20Team%20via%20flow.%20I%20have%20been%20successful%20using%20the%20Clone%20API%20however%20I'm%20getting%20the%20following%20error%20via%20the%20POST%20to%20create%20a%20new%20Team.%3C%2FP%3E%0A%3CP%20style%3D%22box-sizing%3A%20inherit%3B%20margin%3A%2012px%200px%200px%3B%20font-size%3A%2015px%3B%20color%3A%20%23000000%3B%20font-family%3A%20SegoeUI%2C%20Lato%2C%20'Helvetica%20Neue'%2C%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20background-color%3A%20%23ffffff%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%22%3EStatus%20Code%20403%3C%2FP%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%20color%3A%20%23000000%3B%20font-family%3A%20SegoeUI%2C%20Lato%2C%20'Helvetica%20Neue'%2C%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%2015px%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20background-color%3A%20%23ffffff%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%22%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%22%3EUnknownError%3C%2FDIV%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%22%3E%3CSPAN%20style%3D%22box-sizing%3A%20inherit%3B%22%3EVia%20Graph%20Explorer%20it%20works%20fine.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%22%3E%3CSPAN%20style%3D%22box-sizing%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GraphExplorer.JPG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F180732iB4F52CA4F72AE51C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22GraphExplorer.JPG%22%20alt%3D%22GraphExplorer.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%20font-family%3A%20SegoeUI%2C%20Lato%2C%20'Helvetica%20Neue'%2C%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%2015px%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20background-color%3A%20%23ffffff%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%20display%3A%20inline%20!important%3B%20float%3A%20none%3B%22%3EHowever%20in%20Power%20Automate%20with%20same%20call%20it%20fails.%20With%20the%20403%20error%20it%20seems%20its%20some%20kind%20of%20permission%20issue.%20Per%20the%20documentation%20here%20I%20have%20the%20permissions%20on%20my%20app%20set%20correctly.%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-post%3Fview%3Dgraph-rest-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-post%3Fview%3Dgraph-rest-beta%3C%2FA%3E%20I%20pass%20the%20same%20Client%20ID%2C%20Secret%20etc%20and%20I%20can%20use%20the%20CLone%20API%20without%20issue.%20Only%20difference%20is%20Clone%20is%20v1.0%20while%20Create%20API%20is%20beta.%26nbsp%3B%20Also%2C%20I%20have%20another%20flow%20where%20I%20connect%20to%20an%20Azure%20Storage%20Queue%20to%20trigger%20an%20Azure%20Function%20with%20the%20same%20creds%2C%20app%20as%20well%20and%20that%20works.%20Not%20sure%20whats%20going%20on.%20Any%20insight%20would%20be%20great.%20I%20basically%20followed%20this%20guidance%20on%20the%20create%26nbsp%3B%3C%2FSPAN%3E%3CA%20style%3D%22box-sizing%3A%20inherit%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%230066ff%3B%20text-decoration%3A%20underline%3B%20transition%3A%20color%200.2s%20ease-in-out%200s%3B%20font-family%3A%20SegoeUI%2C%20Lato%2C%20'Helvetica%20Neue'%2C%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%2015px%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%22%20href%3D%22https%3A%2F%2Fwww.lee-ford.co.uk%2Fnew-team-request-for-teams-using-flow-and-graph-api%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.lee-ford.co.uk%2Fnew-team-request-for-teams-using-flow-and-graph-api%2F%3C%2FA%3E%3C%2FDIV%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Flow2.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F180733iF7E08359E54F4899%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Flow2.JPG%22%20alt%3D%22Flow2.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Flow3.JPG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F180734i67A1A0F3E64C17CF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Flow3.JPG%22%20alt%3D%22Flow3.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1266245%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%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-1267657%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20create%20Microsoft%20Team%20via%20beta%20Graph%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%3C%2FA%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1267657%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F138368%22%20target%3D%22_blank%22%3E%40Jon%20Studsrud%3C%2FA%3E%26nbsp%3B-%20Is%20your%20flow%20is%20in%20the%20same%20tenant%20where%20you%20are%20trying%20to%20create%20team%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1268125%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20create%20Microsoft%20Team%20via%20beta%20Graph%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%3C%2FA%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1268125%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F590590%22%20target%3D%22_blank%22%3E%40Nikitha-MSFT%3C%2FA%3E%26nbsp%3B%20-%20yes%2C%20this%20is%20all%20in%20the%20same%20tenant.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1268239%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20create%20Microsoft%20Team%20via%20beta%20Graph%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%3C%2FA%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1268239%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F138368%22%20target%3D%22_blank%22%3E%40Jon%20Studsrud%3C%2FA%3E%26nbsp%3B%2C%20403%20status%20code%20seems%20like%20permission%20issue.%20Can%20you%20please%20verify%20if%20the%20API%20permissions%20are%20having%20%22admin%20consent%22%20approved%20for%20the%20app%20registration%20.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorsubhasish-MSFT_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1268639%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20create%20Microsoft%20Team%20via%20beta%20Graph%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%3C%2FA%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1268639%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F451628%22%20target%3D%22_blank%22%3E%40subhasish-MSFT%3C%2FA%3E%26nbsp%3B%20-%20So%20I%20went%20back%20and%20added%26nbsp%3BApplication%20Group.ReadWrite.All%20permissions%20and%20this%20is%20working%20now..%26nbsp%3B%20%26nbsp%3BReally%20odd.%20because%20I%20had%20the%20permission%20set%20per%20this%20doc.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-post%3Fview%3Dgraph-rest-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-post%3Fview%3Dgraph-rest-beta%3C%2FA%3E%26nbsp%3B%20%26nbsp%3Bwhere%20I%20set%20the%20delegated%20permissions.%20The%20doc%20below%20says%20I%20only%20needed%20one%20of%20the%20following.%20Interesting%20the%20cloning%20method%20worked%20with%20the%20delegated%20perms%20and%20Create%20doesn't.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20helping%20here.%20I%20think%20this%20issue%20is%20resolved.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPer%20Documentation%20I%20need%20the%20following.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EOne%20of%20the%20following%20permissions%20is%20required%20to%20call%20this%20API%3C%2FSTRONG%3E.%20To%20learn%20more%2C%20including%20how%20to%20choose%20permissions%2C%20see%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fpermissions-reference%22%20data-linktype%3D%22absolute-path%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPermissions%3C%2FA%3E.%3C%2FP%3E%0A%3CDIV%20class%3D%22table-scroll-wrapper%22%3E%0A%3CTABLE%20class%3D%22table%22%3E%3CCAPTION%20class%3D%22visually-hidden%22%3EPermissions%3C%2FCAPTION%3E%0A%3CTHEAD%3E%0A%3CTR%3E%0A%3CTH%3EPermission%20type%3C%2FTH%3E%0A%3CTH%3EPermissions%20(from%20least%20to%20most%20privileged)%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3EDelegated%20(work%20or%20school%20account)%3C%2FTD%3E%0A%3CTD%3EGroup.ReadWrite.All%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EDelegated%20(personal%20Microsoft%20account)%3C%2FTD%3E%0A%3CTD%3ENot%20supported.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EApplication%3C%2FTD%3E%0A%3CTD%3EGroup.ReadWrite.All%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECurrent%20configuration%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22TEams_API_Permissions.JPG%22%20style%3D%22width%3A%20886px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F180951i10076EBFC4AFE8C1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22TEams_API_Permissions.JPG%22%20alt%3D%22TEams_API_Permissions.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20class%3D%22table-scroll-wrapper%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1270089%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20create%20Microsoft%20Team%20via%20beta%20Graph%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%3C%2FA%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1270089%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F138368%22%20target%3D%22_blank%22%3E%40Jon%20Studsrud%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20update.%20Good%20to%20know%20that%20the%20issue%20is%20resolved.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20could%20see%20here%20that%20while%20adding%20user%20as%20owner%20application%20permission%20is%20required.%20It%20could%20be%20causing%20the%20issue.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-post%3Fview%3Dgraph-rest-beta%23example-2-application-permissions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-post%3Fview%3Dgraph-rest-beta%23example-2-application-permissions%3C%2FA%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorsubhasish-MSFT_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture.PNG%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181197iEC6F2B27994D21B1%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Capture.PNG%22%20alt%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E2%80%83%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

So I'm trying to use the beta Graph API to create a Microsoft Team via flow. I have been successful using the Clone API however I'm getting the following error via the POST to create a new Team.

Status Code 403

UnknownError
 
Via Graph Explorer it works fine.
GraphExplorer.JPG
However in Power Automate with same call it fails. With the 403 error it seems its some kind of permission issue. Per the documentation here I have the permissions on my app set correctly. https://docs.microsoft.com/en-us/graph/api/team-post?view=graph-rest-beta I pass the same Client ID, Secret etc and I can use the CLone API without issue. Only difference is Clone is v1.0 while Create API is beta.  Also, I have another flow where I connect to an Azure Storage Queue to trigger an Azure Function with the same creds, app as well and that works. Not sure whats going on. Any insight would be great. I basically followed this guidance on the create https://www.lee-ford.co.uk/new-team-request-for-teams-using-flow-and-graph-api/
 
Flow2.JPG
Flow3.JPG
5 Replies

@Jon Studsrud - Is your flow is in the same tenant where you are trying to create team?

@Jon Studsrud , 403 status code seems like permission issue. Can you please verify if the API permissions are having "admin consent" approved for the app registration . 

 

 

 

@subhasish-MSFT  - So I went back and added Application Group.ReadWrite.All permissions and this is working now..   Really odd. because I had the permission set per this doc. https://docs.microsoft.com/en-us/graph/api/team-post?view=graph-rest-beta   where I set the delegated permissions. The doc below says I only needed one of the following. Interesting the cloning method worked with the delegated perms and Create doesn't. 

 

Thank you for helping here. I think this issue is resolved.

 

Per Documentation I need the following.

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permissions
Permission type Permissions (from least to most privileged)
Delegated (work or school account) Group.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application Group.ReadWrite.All

 

 

Current configuration

TEams_API_Permissions.JPG

 

@Jon Studsrud Thanks for the update. Good to know that the issue is resolved. 

 

I could see here that while adding user as owner application permission is required. It could be causing the issue.

https://docs.microsoft.com/en-us/graph/api/team-post?view=graph-rest-beta#example-2-application-perm...

 

Capture.PNG