ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Exchange 2010 Synchronization Service Manager - Automating this with PowerShell

    Scheduled Pinned Locked Moved Solved IT Discussion
    exchangeexchange 2010synchronization service manageremail
    21 Posts 2 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      As we create a user account on our On-premise DC, we then have to manually set the SMTP address which pushes the account details to Microsoft to "create" the mailbox.

      But before the account syncs with Microsoft we have to run the steps in the OP to sync. (or wait 3 hours).

      Which once the user is on Office365, we then can assign a license and they are all set to go.

      Mike DavisM 1 Reply Last reply Reply Quote 0
      • Mike DavisM
        Mike Davis @DustinB3403
        last edited by

        Do you have DirSync / Azure AD Connect running on your exchange server or another server?

        DustinB3403D 1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403 @Mike Davis
          last edited by

          @Mike-Davis Azure AD Connect is running on our Exchange Server.

          Mike DavisM 1 Reply Last reply Reply Quote 0
          • Mike DavisM
            Mike Davis @DustinB3403
            last edited by

            you don't have any path like C:\Program Files\Windows Azure Active Directory Sync ?

            DustinB3403D 1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403 @Mike Davis
              last edited by DustinB3403

              @Mike-Davis said in Exchange 2010 Synchronization Service Manager - Automating this with PowerShell:

              you don't have any path like C:\Program Files\Windows Azure Active Directory Sync ?

              These are the file paths that I have.

              0_1487691950843_RDCMan_2017-02-21_10-45-36.png

              Edit: I do have a "Windows Azure Active Directory" folder, but it's empty.

              Mike DavisM 1 Reply Last reply Reply Quote 0
              • Mike DavisM
                Mike Davis @DustinB3403
                last edited by

                That looks like how the newer version is set up. Is it running version 1.1.343.0 or higher?

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @Mike Davis
                  last edited by DustinB3403

                  @Mike-Davis said in Exchange 2010 Synchronization Service Manager - Automating this with PowerShell:

                  That looks like how the newer version is set up. Is it running version 1.1.343.0 or higher?

                  I'm an idiot.

                  You mean the sync manager.

                  It is running 1.1.380.0

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    0_1487692639985_RDCMan_2017-02-21_10-57-03.png

                    Mike DavisM 1 Reply Last reply Reply Quote 0
                    • Mike DavisM
                      Mike Davis @DustinB3403
                      last edited by

                      I would upgrade it and see if it doesn't sync automatically after that.

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @Mike Davis
                        last edited by DustinB3403

                        @Mike-Davis said in Exchange 2010 Synchronization Service Manager - Automating this with PowerShell:

                        I would upgrade it and see if it doesn't sync automatically after that.

                        This is a production system, and we've had a hard enough time getting back to operable.

                        I'm just trying to simplify my life a bit, by not having to manually run the sync process for any new hires we may have to create.

                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by DustinB3403

                          Also isn't this the newest version?

                          https://www.microsoft.com/en-us/download/details.aspx?id=47594

                          Edit: which matches what we have installed.

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            So I've found this.

                            Which is summarized as this.

                            Import-Module ADSync
                            
                            Get-ADSyncScheduler
                            
                            Start-ADSyncSyncCycle -PolicyType Delta
                            

                            But that doesn't seem right... why would the GUI have 6 processes, and the powershell version only have 3...

                            1 Reply Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403
                              last edited by

                              haha... well that was in fact the answer.

                              1 Reply Last reply Reply Quote 0
                              • Mike DavisM
                                Mike Davis
                                last edited by

                                When you fire that power shell script off, if you go back to the sync manager, you'll see it does all 6 things. 🙂

                                DustinB3403D 1 Reply Last reply Reply Quote 1
                                • DustinB3403D
                                  DustinB3403 @Mike Davis
                                  last edited by

                                  @Mike-Davis said in Exchange 2010 Synchronization Service Manager - Automating this with PowerShell:

                                  When you fire that power shell script off, if you go back to the sync manager, you'll see it does all 6 things. 🙂

                                  Yep, that's how I confirmed it!

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 1 / 2
                                  • First post
                                    Last post