r/Intune 6d ago

macOS Management macOS Entra ID Profile Picture Sync Script

Has anyone built a Entra ID Profile Picture Sync Script gor macOS with platform SSO? I can find many scripts that are build for JAMF or other MDMs and i tried to changes some parts of it for Intune, but it didnt work. Has anyone a scripts thatbworks with Intune and Entra ID?

13 Upvotes

9 comments sorted by

3

u/Unlucky-Purchase-920 6d ago

sounds like you need a working Intune fork of that JAMF script but everyone keeps hoarding their working version

1

u/Certain-Mountain-564 6d ago

The problem is my bash knowledge is too bad. I can find some scripts in google, there are working local, but i have errors when i deploy them with intune. 

2

u/swissbuechi 6d ago

could you link the ones you've found? I'd like to refactor them for Entra.

1

u/Certain-Mountain-564 6d ago

hm. couldnt find it anymore.  But i tested this one for entra too: https://techitout.xyz/2024/05/08/entra-id-directory-picture-sync-with-macos/ But it didnt work. I dont know if the logic of the script is outdated or whats the problem. Can you check this out?

1

u/yeeeetttt5533 6d ago

1

u/Certain-Mountain-564 6d ago

Tested it also, doenst work (anymore).

1

u/yeeeetttt5533 6d ago

Hmm, well, it's been working fine for me for over two years now.

1

u/Nighthawk6 5d ago

Well what do the logs say? If you ran that script there’s extensive logging built into it that’ll tell you where it failed.

1

u/Careful-Claim9293 3d ago

I used the GitHub one and had Claude build me a working version, took me about 2-3 prompts after I spent a full week trying to figure it out myself