multicloud365
  • Home
  • Cloud Architecture
    • OCI
    • GCP
    • Azure
    • AWS
    • IAC
    • Cloud Networking
    • Cloud Trends and Innovations
    • Cloud Security
    • Cloud Platforms
  • Data Management
  • DevOps and Automation
    • Tutorials and How-Tos
  • Case Studies and Industry Insights
    • AI and Machine Learning in the Cloud
No Result
View All Result
  • Home
  • Cloud Architecture
    • OCI
    • GCP
    • Azure
    • AWS
    • IAC
    • Cloud Networking
    • Cloud Trends and Innovations
    • Cloud Security
    • Cloud Platforms
  • Data Management
  • DevOps and Automation
    • Tutorials and How-Tos
  • Case Studies and Industry Insights
    • AI and Machine Learning in the Cloud
No Result
View All Result
multicloud365
No Result
View All Result

Sync Azure lively listing group to On-premises Lively Listing

admin by admin
May 11, 2025
in Azure
0
Sync Azure lively listing group to On-premises Lively Listing
399
SHARES
2.3k
VIEWS
Share on FacebookShare on Twitter


I’ve beforehand shared a submit about Syncing AD group to Azure AD cloud group.

PowerShell – AD Group to Azure AD Cloud Solely Group Sync | Tech Wizard

This time we’ve got obtained the reverse requirement, the place We should sync the Azure AD safety group to On-Premises Lively listing group.

We’ve reverse engineered the above script and altered it to work for this situation.

Answer is moveable and might work with any atmosphere, you simply have to replace the variables.

Performance of Sync, ADD and Take away has been added.

Sync
à It’ll make the on-premises group membership identical as AzureAD group membership.

ADDà It’ll solely ADD the members to on-premises group with out eradicating the members which might be already current and are non-existent in AzureAD group.

Take away
à It’ll solely Take away the members which might be current in AzureAD group from on-premises AD group.

Stipulations for this Answer:

Obtain the script from Git or PowerShell gallery from under hyperlinks:

Git:

https://github.com/VikasSukhija/Downloads

aad2adgroup.ps1

PowerShell Gallery:

https://www.powershellgallery.com/packages/aad2adgroup

Set up-Script -Identify aad2adgroup


Notice: Script will auto generate encrypted password first time it’s run and put it aside in the identical folder.

Right here is how one can run it:

Option1

.aad2adgroup.ps1 -AzureADGroupID “d00d967e-5bd5-1001-8gf5-2gh8654f2e8e” -ADgroup “LAB-Group-TEST” -Operation ADD -countofchange 20 -smtpserver labtestsmtp -from DoNotRespond@labtest.com -erroremail Experiences@labtest.com

Option2

.aad2adgroup.ps1 -AzureADGroupID “d00d967e-5bd5-1001-8gf5-2gh8654f2e8e” -ADgroup “LAB-Group-TEST” -Operation Take away -countofchange 20 -smtpserver labtestsmtp -from DoNotRespond@labtest.com -erroremail Experiences@labtest.com

Option3

.aad2adgroup.ps1 -AzureADGroupID “d00d967e-5bd5-1001-8gf5-2gh8654f2e8e” -ADgroup “LAB-Group-TEST” -Operation Sync -countofchange 20 -smtpserver labtestsmtp -from DoNotRespond@labtest.com -erroremail Experiences@labtest.com

After operating it for first time interactively you’ll be able to schedule it to run by way of process scheduler as password has been saved as encrypted credentials contained in the script folder.

Logs will probably be saved underneath logs folder, rely of adjustments has been used as a security measure which I take advantage of in lots of my scripts to keep away from giant adjustments which we aren’t anticipating.

Smtp settings have been added additional to this script to ship logs and alerts to designated e-mail handle.

I hope this resolution will help you in your journey of automation of system administration duties.

 

 

Thanks for studying and downloading….

Tech Wizard

 

https://techwizard.cloud

https://syscloudpro.com/

PowerShell Quick Observe

Tags: ActiveAzureDirectoryGrouponpremisesSync
Previous Post

Vibe Coding Workshop For Leaders (September 2025, ETLS Vegas)

Next Post

Massive Thinkers: From JavaScript To Cloud Privateness Pioneer

Next Post
Massive Thinkers: From JavaScript To Cloud Privateness Pioneer

Massive Thinkers: From JavaScript To Cloud Privateness Pioneer

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Trending

High 7 SCADA Oil Gasoline Firms

High 7 SCADA Oil Gasoline Firms

April 15, 2025
Passing The Baton From Gross sales To CS For Seamless Account Transitions

Knowledge And AI Literacy Is Your Edge

March 27, 2025
AWS Embraces Mannequin Context Protocol for Agentic AI Growth — AWSInsider

AWS Embraces Mannequin Context Protocol for Agentic AI Growth — AWSInsider

April 9, 2025
Huawei maps out AI future in APAC

Huawei maps out AI future in APAC

May 13, 2025
Traits, Progress Drivers, and Future Outlook

Traits, Progress Drivers, and Future Outlook

April 10, 2025
4 Methods to Construct a Tradition of AI Compliance

4 Methods to Construct a Tradition of AI Compliance

April 13, 2025

MultiCloud365

Welcome to MultiCloud365 — your go-to resource for all things cloud! Our mission is to empower IT professionals, developers, and businesses with the knowledge and tools to navigate the ever-evolving landscape of cloud technology.

Category

  • AI and Machine Learning in the Cloud
  • AWS
  • Azure
  • Case Studies and Industry Insights
  • Cloud Architecture
  • Cloud Networking
  • Cloud Platforms
  • Cloud Security
  • Cloud Trends and Innovations
  • Data Management
  • DevOps and Automation
  • GCP
  • IAC
  • OCI

Recent News

Safe & Environment friendly File Dealing with in Spring Boot: Learn, Write, Compress, and Defend | by Rishi | Mar, 2025

Safe & Environment friendly File Dealing with in Spring Boot: Learn, Write, Compress, and Defend | by Rishi | Mar, 2025

May 15, 2025
Bitwarden vs Dashlane: Evaluating Password Managers

Bitwarden vs Dashlane: Evaluating Password Managers

May 15, 2025
  • About Us
  • Privacy Policy
  • Disclaimer
  • Contact

© 2025- https://multicloud365.com/ - All Rights Reserved

No Result
View All Result
  • Home
  • Cloud Architecture
    • OCI
    • GCP
    • Azure
    • AWS
    • IAC
    • Cloud Networking
    • Cloud Trends and Innovations
    • Cloud Security
    • Cloud Platforms
  • Data Management
  • DevOps and Automation
    • Tutorials and How-Tos
  • Case Studies and Industry Insights
    • AI and Machine Learning in the Cloud

© 2025- https://multicloud365.com/ - All Rights Reserved