+ Post New Thread
Results 1 to 2 of 2
Cloud Services Thread, Office 365 Exchange PowerShell drop outs in Technical; ...
  1. #1
    dcwhitworth's Avatar
    Join Date
    Nov 2008
    Posts
    56
    Thank Post
    8
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Office 365 Exchange PowerShell drop outs

    I wonder if anyone can help me understand whether I'm doing something wrong here or not.

    I'm connecting to our Office 365 tenancy and trying to bulk modify some mailboxes.

    It all connects fine, when I start running an Exchange script it prompts me for credentials and then starts working its way through the mailboxes, however after a short period of time the authentication seems to drop and I'm re-prompted for credentials, unfortunately while this is happening it fails on a number of mailboxes so even if I authenticate it has missed many mailboxes.

    I can run things fine for basic Office 365 things, but when I try Exchange it always drops out. Am I doing something wrong ? Do we have a problem with 365 ? Do we have a problem with our internet link ? I'd be really grateful for any ideas people have.

    The script I use to attach is below

    Thanks
    David

    Import-Module MSOnline
    $MSOLcred = get-credential
    $MSOLSession = New-PSSession –ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $MSOLCred -Authentication Basic -AllowRedirection
    Import-PSSession $MSOLSession -AllowClobber
    connect-msolservice -credential $MSOLcred

  2. #2
    dcwhitworth's Avatar
    Join Date
    Nov 2008
    Posts
    56
    Thank Post
    8
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Well, I ran this from home last night and it worked perfectly. Hmmmm.



SHARE:
+ Post New Thread

Similar Threads

  1. Office 365 Exchange Online now 50GB Mailbox per user!
    By EduTech in forum Cloud Services
    Replies: 50
    Last Post: 18th September 2013, 04:33 PM
  2. Replies: 1
    Last Post: 17th April 2013, 05:21 PM
  3. Office 365 Useful Powershell
    By sottonk in forum Cloud Services
    Replies: 2
    Last Post: 8th March 2013, 02:54 PM
  4. Office 365 federated users, locked out
    By mbedford in forum Cloud Services
    Replies: 5
    Last Post: 27th February 2013, 08:34 PM
  5. Replies: 31
    Last Post: 8th January 2013, 01:11 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
  •