+ Post New Thread
Results 1 to 7 of 7
Enterprise Software Thread, Exchange ScriptingAgentConfig.xml problem in Technical; Hello, By default when we create a new exchange mailbox i want ActivSync disabled by default. I have setup a ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461

    Exchange ScriptingAgentConfig.xml problem

    Hello,

    By default when we create a new exchange mailbox i want ActivSync disabled by default. I have setup a ScriptingAgentConfig.xml to do this. It works fine when i make a mailbox in the default database, but when i make a mailbox in a custom database i created it doesn't seem to work. Have i missed something please?

    Thanks

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <Configuration version="1.0">
        <Feature Name="MailboxProvisioning" Cmdlets="new-mailbox,enable-mailbox">
     
             <ApiCall Name="OnComplete">
                  if($succeeded) {
                    Set-CASMailbox $provisioningHandler.UserSpecifiedParameters["Alias"] -ActiveSyncEnabled $false
                   }
             </ApiCall>
         </Feature>
    </Configuration>

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    Anyone please?

    Maybe @sukh can help

  3. #3

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    77
    Will try and test tomorrow, if it's urgent you may want to temp, schedule a task to run every x hours/days etc which does this.

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    Its not urgent as such, but i would like it ready for next week

    Thanks

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    @sukh did you manage to look at this please?

  6. #6

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    77
    Quote Originally Posted by FN-GM View Post
    @sukh did you manage to look at this please?
    Sorry not yet....

  7. #7

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    Hi,

    Rebooting the server did the trick, works a treat now

    Thanks anyway

SHARE:
+ Post New Thread

Similar Threads

  1. Exchange SMTP relay problem! Plz Help
    By screwuphead in forum Wireless Networks
    Replies: 1
    Last Post: 21st January 2008, 07:50 PM
  2. Exchange 2003 SMTP Problem
    By astral_traveller in forum Windows
    Replies: 26
    Last Post: 23rd November 2007, 12:07 PM
  3. dunno if this is an exchange or moodle problem
    By timbo343 in forum Windows
    Replies: 1
    Last Post: 23rd January 2007, 02:56 PM
  4. Exchange 2003 - Authentication problem
    By pooley in forum Wireless Networks
    Replies: 5
    Last Post: 20th July 2006, 05:44 PM
  5. Exchange 2003 Authentication Problems
    By paul in forum Windows
    Replies: 13
    Last Post: 24th May 2006, 06:23 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •