lithnet / googleapps-managementagent

Google Workspace Management Agent for MIM 2016
MIT License
12 stars 4 forks source link

Need to modify the "archived" attribute #74

Closed joselgarza closed 2 years ago

joselgarza commented 2 years ago

We have added the scope "https://www.googleapis.com/auth/apps.licensing" to our API security, but we cannot seem to see the newly added "archived" attribute. The issue is that we were simply evaluating Active and Suspended based on the Boolean attribute "suspended", but now we have to integrate our logic for archived users. Our GoogleMA ended up changing users from archived to suspended previously, and we are trying to do this intentionally now via the GoogleMA.

So, the real question is, how can we "see" the archived attribute in Select Attributes in the MA?

ryannewington commented 2 years ago

@joselgarza Are you talking about the archived attribute on the user object, or something else to do with licensing? I'm not sure what the reference to that scope is.

Any attributes that are not exposed currently need to be added in code. If you can describe specifically what you need to do, I can look to see if I can add that capability for you

joselgarza commented 2 years ago

Yes, we need to see the "archived" Boolean attribute to set this during export. This would allow us to have the three needed scenarios of Active, Suspended, and Archived. To my knowledge, we just need to the ability to set the Boolean.

joselgarza commented 2 years ago

Additionally, we are validating with our Google contact to give an example of archiving a user via the REST API, just to ensure we are not missing any other attributes. I would hate for you to do anything to the management agent, and the end result be lacking. I will update when I can confirm.

ryannewington commented 2 years ago

@joselgarza

I've added the archived attribute to the user object for you to test. Please let me know how it goes.

Lithnet.GoogleApps.MA.Setup.msi.zip

joselgarza commented 2 years ago

Thank you, Ryan. I am back in the office today, but we are waiting to do this in DEV. I will update as soon as I can, and provide feedback accordingly.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.

joselgarza commented 2 years ago

I'm sorry for such a large delay. My customer has postponed this issue, but I know we will return to it again as it is still outstanding. Feel free to archive for now, and I will reach out when possible.

Jose Garza Sr. Customer Engineer - Identity and Security Office: 832.252.4300 Mobile: 281.795.7688 @.**@.> @. [MIM_Logo] [Server-2012-logo] [azurecert] @.

If you have any feedback about my work, please let either myself or my manager John Kowalik know at @.**@.> or +1 540-449-3625.

From: Ryan Newington @.> Sent: Friday, February 18, 2022 8:56 PM To: lithnet/googleapps-managementagent @.> Cc: Jose Garza @.>; Mention @.> Subject: Re: [lithnet/googleapps-managementagent] Need to modify the "archived" attribute (Issue #74)

@joselgarzahttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjoselgarza&data=04%7C01%7Cjgarza%40microsoft.com%7C1ecf7cb6957641fa6ac908d9f35366bb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637808362694550168%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=F6%2BtDQ%2B3XrvPLihGOTg4sZp%2BzBfS3G9gaw36%2B96d%2BZg%3D&reserved=0

I've added the archived attribute to the user object for you to test. Please let me know how it goes.

Lithnet.GoogleApps.MA.Setup.msi.ziphttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flithnet%2Fgoogleapps-managementagent%2Ffiles%2F8101334%2FLithnet.GoogleApps.MA.Setup.msi.zip&data=04%7C01%7Cjgarza%40microsoft.com%7C1ecf7cb6957641fa6ac908d9f35366bb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637808362694550168%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=h1PKlwXSgdq7z6RblhyF6PeykmPrizXR%2F%2FPoaZOhPJk%3D&reserved=0

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flithnet%2Fgoogleapps-managementagent%2Fissues%2F74%23issuecomment-1045618383&data=04%7C01%7Cjgarza%40microsoft.com%7C1ecf7cb6957641fa6ac908d9f35366bb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637808362694550168%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=WtOWo8Fo5yZZljEbWEbad1oQLkRxcXHx1Fl39SjqzM4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADUBQNJ5AXYD6PNFCOJICN3U34BFDANCNFSM5OV3QY3Q&data=04%7C01%7Cjgarza%40microsoft.com%7C1ecf7cb6957641fa6ac908d9f35366bb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637808362694600167%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ynkkQ7NjjFImdsl8AWZY2Kt74JyjFGBbnsh3efAEWM0%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cjgarza%40microsoft.com%7C1ecf7cb6957641fa6ac908d9f35366bb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637808362694600167%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ZUu1qI2n6xaJvRjUgyr1IWz3Bvd2UEtTXHGpo3vsPc4%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cjgarza%40microsoft.com%7C1ecf7cb6957641fa6ac908d9f35366bb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637808362694600167%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6%2F3Ht0ud3PNi5klS7mDCeKAKNBaWXMnkN1sBTbkJkrE%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.**@.>>

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.