Comments (14)
from psgsuite.
Sure. I'm using version 4.89.06 of this customized version of gam. Here's some example commands
gam create contact givenname John familyname Doe name John Doe email work [email protected] notprimary userdefinedfield employeeID 12345
gam update contacts [ContactID] givenname Jane familyname Smith name Jane Smith email work [email protected] notprimary
gam delete contacts [ContactID]
from psgsuite.
I was wondering if any more thought had gone into managing individual users contacts? Mainly adding/updating contact information, I see where there are functions to view and delete contacts but not add or update.
Like @BarnumD I can do this with the custom version of GAM but I vastly prefer using PSGSuite wherever possible.
from psgsuite.
@ryanfog - don't want you to think I forgot about this! Issue opened to track this request directly. Hoping to have at least domain level contact management doable via direct calls to Google's REST API, will need to figure out the user side of it as well though.
from psgsuite.
Branch created to track development for this: https://github.com/scrthq/PSGSuite/tree/feature/ContactMgmt_issue53
from psgsuite.
@dwrusse - Here's the Contact management open request if you want to note anything here, since I know you've been working on this a little lately!
from psgsuite.
from psgsuite.
@dwrusse - your additions have been released alongside a few others in v2.18.0!
@ryanfog - Get-GSContactList
and Remove-GSContact
now available in PSGSuite v2.18.0!
from psgsuite.
hey @dwrusse - just an FYI - did some more cleanup on the functions in the most recent release (v2.18.1) around access token retrieval (switched to using Get-GSToken
for that instead of using New-GoogleService
, since that's purpose-built for retrieving Access Tokens for REST/GData API calls), as well as just cleanup in general. Try it out and let me know if you have any issues/questions!
from psgsuite.
I would like to manage gSuite Global contacts (directory) by editing a user's includeinaddressbook
account parameter as well as managing the global shared contacts list for external accounts that appear in the directory. I assume this is the right Issue to track that request. Is this still being worked on?
from psgsuite.
hey @BarnumD - The Global Shared Contacts list fits in here, but I believe the IncludeInGlobalAddressList
parameter for user creation / updating would be separate (that would need to be added to the New-GSUser
/ Update-GSUser
functions, from what I can tell). This is still being worked on, but the Contacts API has been sunset in favor of the newer People API, so investigation around capability with the new API still needs to happen
from psgsuite.
I'm using IncludeInGlobalAddressList in New-GSUser
/Update-GSUser
now. It's working well.
Looking forward to global shared contact support so I can ditch gam. Thanks!
from psgsuite.
thanks for the follow-up on this, @BarnumD! I'm trying to find the info on the GAM wiki around Contact management, but I'm not seeing it outright. Would you be able to provide a sample GAM command that you use with filler/dummy values for info and the version of GAM you're using, by chance?
from psgsuite.
@BarnumD 😄
from psgsuite.
Related Issues (20)
- Additional Reports Since Last Edited HOT 1
- Send-GmailMessage: Special characters not displayed as expected in HTML Body HOT 1
- Inconsistent Get-GSUser "IsEnrolledIn2Sv" field results when multiple users are returned HOT 1
- Update-GSChromeOSDevice - Wipe devices User Profile Only HOT 6
- PowerShell Constrained Language mode HOT 1
- Setup Guide Unclear / Not up to Date HOT 5
- Dynamically Generating Functions for Slide/Doc/Sheet updates
- Create Documents and Presentations
- 2.37.0 release is too big for Azure Automation
- Add option to enable conversation history HOT 1
- Licensing Data out of date HOT 4
- Still being developed?
- Add Last Known Network to Get-GSChromeOSDevice HOT 8
- Get-GSGmailSignature ... Update-GSGmailSignature HOT 1
- Update-GSUser support for unarchiving HOT 2
- Update-GSUserSecuritySettings -User User -AllowLessSecureApps -$True
- Set group labels via CloudIdentity API
- I am getting error in gsuite assement
- Initial Setup Instructions Need Updating (Here's what worked for me) HOT 1
- Implement retries with exponential backoff for long running commands like Get-GSDriveFileList
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psgsuite.