grouper-users - RE: [grouper-users] New Office 365 Consumer Log and Unified Groups
Subject: Grouper Users - Open Discussion List
List archive
- From: "Black, Carey M." <>
- To: Beth Halsema <>
- Cc: Grouper Users <>
- Subject: RE: [grouper-users] New Office 365 Consumer Log and Unified Groups
- Date: Fri, 24 Jul 2020 21:06:36 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=osu.edu; dmarc=pass action=none header.from=osu.edu; dkim=pass header.d=osu.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dctt+G92bsjJ1vVrOX/Zhcv6W26hIM2AyJHJfQJtrKM=; b=KPpwrZnQ8BqvT9ivJoxqvZ5DFjhHcbhsfYzwujz7O704irP5E/4I/Wye3HxyyTzCCr2fzkokTv//LmtggGLGgmo1uQLFt0olxCG5qMR5pCg+mVYdbwTAk5F9p2BdVUBnbhXQizju5+k6wF0Qw3xsfzcsOifFse2OST4nPhvE9b9qKJqBsdggjQ8DhHNaEk9hEStIXMfguo+qMAvT4vJ7NqGoMtlfpz2LQRikd2QtK9U0a12kAKKDku+0MNiA3ARHd2Qf7iDlb+CS5TpI2kp57UYEr6Nt6J9rCNqq4TdcfI4iJaWLmeF3lD6idEUxSPa8D1JVQkIfOjgLHJg0/O6DAA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fe+uWv4b0kzMbxoQ3kZMG3YqQIOsp5nevhfHBs0z9AN/08jmnPQ6dnVEt2AwAnbubEu0J6FirdOQbulCFhkb6r/Y8d3+mf8SruqVuBqDvxCO4a+4gPBFJf7YzmHyW0Y8BjNNQt9QxS30/aixToC5SjlKh/woG+7gqA679SARaTCRF1cA2/nYRIVIrXeMXAzJxj2HSW4t3teg1kdhZ2yvTwoBeg4yRYGLU1vbJUDg9D2+Fh14NJz68xGxhcRR7ppkVRwXceDCfH2QLORNJsNp7f0tKmai1KqF6Tk+SSOpiKXXIjoeXwgNu/qOV0SWsxAuJUtqgNMB85G3e+IdDPgk2g==
Beth,
I did not look down that road… but a quick scan of the CLC….
After a group is added in o365, then an attribute should be set on the group with an identifier from o365. My guess is that the “boom” happens before that get’s a chance to be attempted. https://github.com/Internet2/grouper/blob/6f349441e4272b8c17ece2e2fec4c15b9ff85677/grouper-misc/grouper-azure/src/main/java/edu/internet2/middleware/grouper/changeLog/consumer/Office365ChangeLogConsumer.java#L247
So… if you look at the group in Grouper ( after the CLC creates the group in O365…) and look at the “More actions” à “Attribute Assignments” and see if the attribute “etc:attribute:office365:o365Id" is on the group. ( I am guessing “no”.)
And … when I look at “addMembership” … It uses the attribute value to add members. So.. No attribute value then no memberships can be added.
On the other hand… If you backfill that attribute assignment and value “by hand” then you might get it to provision memberships. ( for a very limited POC till the bug get’s fixed.)
-- Carey Matthew
From: Beth Halsema <>
Carey,
Your findings match mine. Since the groups are being created in Office 365, I think that the initial operation, the addGroup(), succeeds. The error is being generated as the result of the response from Microsoft Graph API.
Would that failure then result in the subsequent operations for those groups (group members additions/deletions and the group removal) not even be attempted for those groups?
I am starting to wander through the code to get a better feel for the design and expected behaviors.
Thanks again and have a great weekend!
Beth -------------------------------------------------------------------------------------------------------------
On Fri, Jul 24, 2020 at 4:30 PM Black, Carey M. <> wrote:
|
- [grouper-users] New Office 365 Consumer Log and Unified Groups, Beth Halsema, 07/24/2020
- Re: [grouper-users] New Office 365 Consumer Log and Unified Groups, Beth Halsema, 07/24/2020
- RE: [grouper-users] New Office 365 Consumer Log and Unified Groups, Black, Carey M., 07/24/2020
- Re: [grouper-users] New Office 365 Consumer Log and Unified Groups, Beth Halsema, 07/24/2020
- RE: [grouper-users] New Office 365 Consumer Log and Unified Groups, Black, Carey M., 07/24/2020
- Re: [grouper-users] New Office 365 Consumer Log and Unified Groups, Beth Halsema, 07/24/2020
- Re: [grouper-users] New Office 365 Consumer Log and Unified Groups, Beth Halsema, 07/24/2020
- Re: [grouper-users] New Office 365 Consumer Log and Unified Groups, Beth Halsema, 07/24/2020
- RE: [grouper-users] New Office 365 Consumer Log and Unified Groups, Black, Carey M., 07/24/2020
- Re: [grouper-users] New Office 365 Consumer Log and Unified Groups, Beth Halsema, 07/24/2020
Archive powered by MHonArc 2.6.19.