Home

Utilizing Graph API to do Planner/Groups stuff without being in Group

%3CLINGO-SUB%20id%3D%22lingo-sub-392086%22%20slang%3D%22en-US%22%3EUtilizing%20Graph%20API%20to%20do%20Planner%2FGroups%20stuff%20without%20being%20in%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-392086%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20looking%20to%20use%20a%20global%20administrator%20account%20to%20do%20a%20lot%20of%20stuff%2C%20but%20one%20of%20those%20things%20is%20to%20generate%20planner%20tasks.%20The%20code%20works%2C%20but%20it%20will%20only%20work%20if%20the%20account%20is%20a%20member%20of%20the%20group.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20not%20do%20this%3F%20Should%20I%20add%2Fremove%20the%20user%20via%20code%20every%20time%20I%20do%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20the%20latency%20there%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-392086%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Egraph%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPlanner%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394563%22%20slang%3D%22en-US%22%3ERe%3A%20Utilizing%20Graph%20API%20to%20do%20Planner%2FGroups%20stuff%20without%20being%20in%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394563%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F38365%22%20target%3D%22_blank%22%3E%40Kevin%20Morgan%3C%2FA%3E%26nbsp%3BNot%20at%20all%20what%20im%20trying%20to%20do.%20Thanks%20though.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394371%22%20slang%3D%22en-US%22%3ERe%3A%20Utilizing%20Graph%20API%20to%20do%20Planner%2FGroups%20stuff%20without%20being%20in%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394371%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1426%22%20target%3D%22_blank%22%3E%40Joe%20Fedorowicz%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20you%20already%20checked%20this%20post%20%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fexport-user-data-from-microsoft-planner-91258c96-b353-4da1-b6d9-d78e4809cf08%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fexport-user-data-from-microsoft-planner-91258c96-b353-4da1-b6d9-d78e4809cf08%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-692735%22%20slang%3D%22en-US%22%3ERe%3A%20Utilizing%20Graph%20API%20to%20do%20Planner%2FGroups%20stuff%20without%20being%20in%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-692735%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23333333%3B%20font-family%3A%20'SegoeUI'%2C'Lato'%2C'Helvetica%20Neue'%2CHelvetica%2CArial%2Csans-serif%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3EThis%20techcommunity%20forum%20handles%20responses%20to%20Microsoft%20Graph%20Security%20API%20related%20questions.%20For%20questions%20related%20to%20other%20Graph%20workloads%20like%20Planner%20%2F%20Groups%20please%20submit%20the%20question%20on%20Stack%20Overflow%20and%20tag%20with%20Microsoft-Graph.%20Thanks!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Hello, 

 

I am looking to use a global administrator account to do a lot of stuff, but one of those things is to generate planner tasks. The code works, but it will only work if the account is a member of the group. 

 

Is there a way to not do this? Should I add/remove the user via code every time I do it?

 

What is the latency there?

3 Replies
Highlighted

@Kevin Morgan Not at all what im trying to do. Thanks though.

This techcommunity forum handles responses to Microsoft Graph Security API related questions. For questions related to other Graph workloads like Planner / Groups please submit the question on Stack Overflow and tag with Microsoft-Graph. Thanks!