Hi Christoph,
As you noted, Genesys' SCIM doesn't support image sync, so you'd have to write a script to do this directly. Thankfully the PATCH /api/v2/users/{userid} does support that, and in a relatively simple way. You can set images by passing in the resolution and a URL to the image. Microsoft Graph (Azure AD) API supports getting those image URL's and you can even specify the resolution you want to get.
My company doesn't force this, but if I were to attack this as a project, my script would:
- Call GET /api/v2/users to get a list of users in GCCX
- Iterate that list to find any users that don't have at least one image URL
- Query Graph API to get those URL's
- Call PATCH /api/v2/users/{userid} to update those users with photos
If you want a more robust/ongoing sync, you'd call this on a schedule and instead of filtering your GCCX user list by ones with no images, you'd query the graph API for a list of users that have had account changes since the last run, then update those users' photos only. I would not recommend blindly runing this PATCH API without logic to ignore unchanged recorded unless Genesys can confirm it won't attempt to re-download the image if the URL is unchanged.
------------------------------
Paul McGurn
Manager, Telecom & DevOps
GoTo
------------------------------
Original Message:
Sent: 08-16-2023 10:29
From: Christoph Dittmer
Subject: Import Employee ID via Bulk or Script
Hi Paul,
do you also have experiences with Azure AD and SCIM transferring Profile Pictures from Azure to Genesys as this is not part of the basic SCIM functions of Genesys?
Regards,
Christoph
------------------------------
Christoph Dittmer
Sixt SE
Original Message:
Sent: 08-07-2023 09:49
From: Paul McGurn
Subject: Import Employee ID via Bulk or Script
As long as you set up a SCIM-specific OAuth client to generate your token, Azure AD will be all set. When I was first setting up SCIM on our org, the documentation was a bit weaker, so I didn't realize there was a way to set up a SCIM OAuth client. A regular OAuth client will work, but will only work until that session dies. The SCIM-specific configuration will last ~14 months before you need to re-do the token process in Postman. In my case, that flow lets me create an OAuth client with a session duration of 38880000 seconds (max for the field, even though it says 48 hours is the max).
------------------------------
Paul McGurn
Manager, Telecom & DevOps
GoTo
Original Message:
Sent: 08-07-2023 07:01
From: Christoph Dittmer
Subject: Import Employee ID via Bulk or Script
Hi Paul,
yes, we have Azure Active Directory. We implemented it now in Azure Active Directory and works fine. :)
BTW - We needed to create a token via Postman being valid for 86399 seconds - any idea how to extend this?
At the moment our SCIM Job is running at request but should run otherwise automatically every 40 minutes (general Org Setting for all integrations)
https://help.mypurecloud.com/articles/configure-azure-active-directory-for-genesys-cloud-scim-identity-management/
------------------------------
Christoph Dittmer
Sixt SE
Original Message:
Sent: 08-01-2023 13:10
From: Paul McGurn
Subject: Import Employee ID via Bulk or Script
Does your org use a platform that could leverage SCIM provisioning? It's actually included by default in that, and would also negate the need for the manual imports.
------------------------------
Paul McGurn
Manager, Telecom & DevOps
GoTo
Original Message:
Sent: 07-31-2023 09:40
From: Christoph Dittmer
Subject: Import Employee ID via Bulk or Script
Hi Everyone,
i am looking for an idea / option for the people import to also add the "Employee ID" in Section HR as we need it for internal reporting.
Has anyone some hints or experience how to get the ID into Genesys via Bulk Import or any other script?
I hope someone has some ideads.
Thanks a lot,
Christoph
#SystemAdministration
#Unsure/Other
------------------------------
Christoph Dittmer
Sixt SE
------------------------------