Tag Archives: Office 365

Moving from a broken Lync On-Prem to Lync Online

When moving from Lync On-prem to Lync Online there are like three or more different approaches, last week I tried one of them where my customer had lost all their Lync servers in a SAN failure.

So the mission was to get them on boarded to Lync online!
Well its just to create a tenant, add the domain, enable dirsync and it should work, right?

Well there is actually one more step to take.
When a user is enabled for Lync some attributes gets tattooed in AD, like the msRTCSIP-UserEnabled & msRTCSIP-PrimaryUserAddress for example and since these attributes has values in the on-prem AD, Lync Online will not provision these users and they will not be able to logon.

You can verify this by going to the users tab in the Lync Admin Center in the Office 365 portal. You should then see all the users that are provisioned for Lync Online there
And IF the user is not listed, make sure that he/she has a license, and if he/she still does not show up (and in the case that there has been an on-premises Lync) make sure that none of the msRTC… attributes has any values on them. They should all be cleared for the Lync Online provisioning to work.

And if you have more than five or so users that needs this clean up, there is a tool called admodify at http://admodify.codeplex.com/ that is super simple to use that can clean this up for you in minutes.

This tool is also perfect to use for any bulk changes that needs to be done over many different OU´s for example.

Force a Office 365 ProPlus ClickToRun Update #Office365 #Lync

With the July 2013 Cumulative Update for Lync that just got released I wanted to try it out as well. There’s a lot of cool new features in it like:

  • IM Mute
  • Question and Answer capability in meetings
  • Paste photos straight into Lync
  • Meetings Tab (so you can now see your Lync meetings directly in the client)

So I went to download the update like I usually do from the Microsoft Download Center:

Microsoft Lync 2013 (32-bit)

Microsoft Lync Basic 2013 (32-bit)

Microsoft Lync 2013 (64-bit)

Microsoft Lync Basic 2013 (64-bit)

And I ran it and BOOM!!!


That message is in Swedish for some reason, but it says that there is no product installed on this computer for this update

Well, yea I remember, after I installed Windows 8.1 a couple of days ago I installed the amazing click to run version of Office Pro Plus called Office 365 ProPlus

And here’s a little info on how updates works on the Click To Run Office 365 ProPlus

By default, Click-to-Run for Office 365 installations are automatically updated. The automatic update process detects and downloads the new data in the background. The updates are installed in the background as soon as the download is completed. However, the installation may be postponed if a resource to be updated is being used by an Office application that is running. In such cases, the updates are automatically applied the next time that the application is cycled or when the application is started by the user. Administrators can turn automatic updates off.

The updates are kept as small as possible and they download only when changes are required to keep the installation up-to-date. This optimizes network bandwidth use. Updates occur only when the affected Office applications aren’t being used and they don’t require a computer restart.

Administrators can configure updates behavior by using the Configuration.xml file for Click-to-Run. The following Updates element attributes are available:

  • Enabled   If set to TRUE, Click-to-Run will automatically detect, download, and install updates. This is the default. If Enabled is set to FALSE, Office won’t check for updates and will remain at the installed version.
  • UpdatePath   Can be used to specify a network, local, or HTTP path for a Click-to-Run installation source to use for updates. If UpdatePath isn’t set, or is set to special value “default”, the Microsoft Click-to-Run source on the Internet will be used.
  • TargetVersion   Can be set to a Click-to-Run for Office 365 product build number, for example, When the version is set, Click-to-Run for Office 365 attempts to update to the specified version in the next update cycle. If TargetVersion isn’t set or is set to special value “default,” Click-to-Run for Office 365 updates to the latest version advertised at the Click-to-Run source.

For information about Configuration.xml syntax, see Reference for Click-to-Run configuration.xml file.

From <http://technet.microsoft.com/en-us/library/jj219420.aspx>

But I haven’t got that update so how do I force it?

It turns out t be pretty simple. Just open a Office program (other than Lync)
Then go into the settings bar for it and in Outlook click Office Account.
Once there you will see this


Simply click the Office Updates that also tells me that there actually is updates ready. Once clicked it will open a menu and then just select Update Office

There is also a “About Office updates something button” that leads to:
http://support.microsoft.com/gp/office-2013-click-to-run and this page got some great info on the latest updates

When the update starts it will need to close any open Office application

Just hit close and wait 3-4 minutes…

And when its done it restarted my Office apps and I’m back to productivity


And I’m back in to Lync with those new features enabled.


Office 365 & Lync Design Workshops at MS Sweden–Sommarkollo

På onsdag kör jag två stycken sommarkollo dragningar.

Den ena om Lync Server 2013 design

Hur designar vi en Lync Server miljö som passar våra kunder i olika storlekar (som i Sverige ofta är mindre än vad TechNet dokumentationen har tänkt sig) men ändå håller sig inom supportramarna.

Detta brukar vanligtvis resultera i mycket skissande och här går vi igenom lessons learned och vad du ska tänka på när du designar och sätter upp en Lync Server miljö.

Sedan går vi igenom och demar hur det ser ut vid olika problem samt hur vi återställer ett katastrofscenario. För att du på så sätt ska lära dig identifiera olika fel på olika komponenter och så snabbt kunna avhjälpa för att på så sätt kunna hålla en hög SLA med så lite hårdvara som möjligt.

Målgrupp: It-proffs
Föreläsare: Tommy Clarke
Level: 300
Ort och datum: Stockholm 26/6 kl 13:00-16:00 och 21/8 kl 13:00-16:00

26 juni Anmäl dig till sessionen här >

21 augusti Anmäl dig till sessionen här >


Den andra är en Office 365 workshop

Under denna halvdag går vi igenom de tekniska bitarna av Office 365 och skippar säljsnacket. I ett workshopformat går vi igenom och sätter upp en Office 365 miljö med Dirsync och ADFS för att sedan titta på de nästintill oändliga möjligheterna av konfiguration vi kan göra i dels det nya webgränssnittet för portalen men främst i PowerShell. Mycket demon och lite PowerPoints för att ni ska få så djup insikt i Office 365 under så kort tid som möjligt.

Vi kommer fokusera på följande fyra delar av Office 365 i E planerna:
Kontohantering, ADFS & Dirsync, Exchange, SharePoint, Lync

Målgrupp: It-proffs
Föreläsare: Tommy Clarke, UcAware
Level: 300
Ort och datum: Stockholm den 26 juni kl 9:00-12:00

Anmäl dig till sessionen här >

Office365 Service health dashboard RSS feed url got changed

Im building a monitoring solution for one of my customers and noticed that their RSS URL was the same as mine, and I found this a little weird since they are upgraded and I’m not.

Anyway as I researched this I found out that my RSS feed URL has been changed and that my monitoring was pointing at the old one.

NOT so good. So IF you rely on this RSS feed for monitoring of your Office 365 service. make sure that you are using the right one and that it hasn’t been changed without your notice.

Admin Guide – Federated Exchange – Create a room – #Office365

    You must have a remote domain configured as the target delivery domain for the cloud-based organization to complete the New Remote Mailbox wizard process.

  • In the console tree, click Recipient Configuration in the on-premises organization node.
  • image

  • In the action pane, click New Remote Mailbox. And follow the guide that opens.
  • clip_image002




    You could also run the following PowerShell command that does the same thing as following the guide.

    New-RemoteMailbox -Name ‘Test Room’ -UserPrincipalName ‘test.room@online.rf.se’ -FirstName ‘Test’ -LastName ‘Room’ -Initials ” -Room


    If you now check the properties on this Room from under the On-Premises it will only show a few general tabs, this is because its a remote mailbox and not local, (thus it has to be managed from under the Exchange Online\Recipient Configuration. )



    To see the new room in your Exchange Online\Recipient you have to first wait for or manually run Dirsync (Start-OnlineCoexistenceSync from your Dirsync server)

    After Dirsync has run you will see the mailbox under your Exchange Online org and if you right click and select properties you will now see the full set of tabs for it.


    Make sure to configure the properties for your room appropriately.

    clip_image009 clip_image010


Admin Guide – Completely remove (or restore) a mailbox or a room from #Office365

First delete it as you normally do, after you do that it will be moved to the “Deleted Accounts Store”

To see all the users and object that is in this store, log on to your tenant and click on users under management, then click the Deleted on top of the users page that opens.

You can also get a list from PowerShell by typing Get-MsolUser –ReturnDeletedUsers


From this page you can now restore users and rooms that are deleted.

But while the accounts are in this store they are still visible in the address list, and if its lets say a room that you just created and spelled wrong, so you removed it.
It will still show in the Rooms list and people will try to book it.

So how do we delete object from this list?

Well in the web portal there is only one option: to restore. So we need to look at PowerShell which is the only way to remove them as of now.

So start the


And type in

Remove-MsolUser -UserPrincipalName “Gf94d55cf329b43@yourdomain.onmicrosoft.com” –RemoveFromRecycleBin

You can do a Get-MsolUser –ReturnDeletedUsers first and then just copy paste the UPN

Then just answer yes on the confirmation and the account is removed.

A note here that got me failing first is that the -RemoveFromRecycleBin is a new command and if you don’t see it when you tab for the autocomplete you have the old PowerShell module, and need to install the new one. (The newest module can always be found here http://onlinehelp.microsoft.com/en-us/office365-enterprises/ff652560.aspx )

The Swedish #Lync & #Office365 user groups

I’m personally involved in two different user groups with the base on linkedin.

Both groups are nearing 300 members and I think that’s a good number of the people representing the community in Sweden on these products.

Are you a member yet? If not you should definitely sign up (almost all of the talking is in Swedish though but that’s what translate.bing.com is for right) Winking smile


Office 365 Sweden – Microsoft Cloud User Group


SUCK – Svenska UC Klubben

Set the RetentionPolicyTag for Deleted Items in #Office365

To change the Retention policy for the deleted items from the default 30 days to lets say 90 days follow this guide

First connected with PowerShell to Exchange Online Service.

a. Install and configure Windows PowerShell.
b. Connect PowerShell to Exchange Online service.

To change the default RetentionPolicyTag for all users run.

Set-RetentionPolicyTag -Identity “Deleted Items” -AgeLimitForRetention 90

To verify all retention policy that are applied to a specific mailbox , please take the following steps.

c. Disable the current RPT applied to the Deleted Item Folders, by running the following  cmdlet using PowerShell.
Set-RetentionPolicyTag “Deleted Items” -RetentionEnabled $false

d. Create a new retention policy tag for the default folder “Deleted Items” by using the following command:

New-RetentionPolicyTag “Exec -Default” -Type All -RetentionEnabled $true -AgeLimitForRetention 90 -RetentionAction DeleteandAllowRecovery

This example creates a retention policy tag for the default folder Deleted Items. When the tag is applied to a mailbox, items in the Deleted Items folder are deleted after 90 day.

After that, create a new retention policy or set up a current policy to link to the newly created retention policy tag.

e. Use PowerShell to apply the retention policy to Deleted Items

Set-Mailbox ” Deleted Items” -RetentionPolicy Execs

The following command applies the retention policy named Execs to Deleted Items:

How I use #Lync and #Office365 as a power user – When I travel

I´we just came back from a one months holiday in Thailand. Or actually I worked for 2 weeks so I only have to use two of those five weeks paid holiday we get as Swedes. But I could stay for double that time, I could work from the beach and 5 star hotels.
And just some weeks before Thailand I were one and a half week in the states for the Microsoft MVP summit and all this time, my customers could reach me without a thought of playing phone tennis trying to find different phone numbers or OOF responses. And the best thing about it, I could work as I was at home in my office but with the view bellow.


This series of posts will tell you all about how to use Office 365, Lync and Enterprise voice when you are traveling international. And some other stuff to about hereworking –working from where you do it the best.

The thing is, thanks to Lync and Office 365 I was able to be as productive as I am when im in my Office. Or I would rather say that I got more done these weeks than if i´d be back home.
I would like to back that up with this article. Tell Your Boss: Unlimited Vacation Actually Increases Productivity.

Working remote or hereworking as I would like to call it, is something that is really easy now with the technology from Microsoft. I got all my documents and notebooks in the cloud stored in Office 365 and SharePoint online. I do note taking in OneNote and that notebook is automatically synced to my personal SharePoint site. Also available from my Windows Phone 7 or iPad. I do some syncing of files between all my devices with Skydrive. My email is in Exchange Online and i use both Lync Online and Lync on-premises.

So how did my setup look like.


I have a Asus Zenbook and a Samsung Series 7 slate with Windows 8 on as my computers (and a iPad2 that I only used 5-10 minutes thanks to the Slate), depending on where I were going to sit and work I did choose the computer that best fit the needs, All files and OneNote were synced via Office 365. I use VPN and Remote Desktop Connection manager and the connection file of course also syncs between the computers.



For my communication I have a unlocked HTC Titan, Plantronics Voyager Pro UC2 and a Jabra UC Voice 250 MS Lync Optimized USB headset.
Thats what I used for phone calls and meetings. Both my PC´s has built in cameras for the video meetings I had in Lync.

Well that’s it for the hardware. Now some tips on how to find a good office for some hours of work.

To start with, there is always coffee shops, Starbucks and they are generally great in the morning, I’m tiered and like to have a coffee to start the day, not so many noisy people in the mornings either, but around lunch and especially after when the moms invade with their kids its usually time to switch place. Plus it don’t feel so good to sit in one coffee shop for eight hours only ordering a coffee.
The great things with many of the coffee shops though is that they have electrical outlets where you can borrow some power, so when you see an outlet rush over there and use it cause you will need it for the afternoon.

After lunch I usually hit the hotels, and preferably the “high so” ones, 5 stars where a coffee is 3 times more expensive than where I had the morning shot. Normally theses places are gorgeous to and have great chairs to work from, but not all has electric…

Some hotels can start playing some music around 3-4pm and have some after work bar or something that could get loud, so its usually time to finish work at this time, or switch seating to some seat away from the people/music. Here is a collection of other tips when hereworking at coffee shops.

However the firsts weeks of my trip where spent in Isaan in the northeast part of Thailand, planting rise Winking smile 


But with great 3G connection I even had some meetings from these fields in the middle of nowhere. And yes, with good quality of voice and video and I couldn’t hear that much latency either, when calling Sweden.

View Larger Map


And I would like to end this post with a link to 9 Tips for Overcoming Jet Lag

The next part will be a bit more technical, showing what settings I did to make this possible.

Migrating Calendar & Contacts for #Office365 kiosk accounts

This weekend is spent with a Office 365 and Exchange Online migration.

And I’m migrating from Kerio Connect to Exchange Online, since this is a IMAP migration I had to find a solution for the calendar and contacts since they are not migrated with the built in IMAP migration tools.

So I found someone in a forum that recommended Transend. And its been ok. I cant say its been a great migration experience but Transend does work if everything else works to 100% and well this is IT, things just never work 100%….

Anyway, I have 50 users on kiosk accounts, and after some digging I found out that Transend uses EWS when it upload the contacts, and guess what? Kiosk accounts don’t allow that, so there wont be any contacts or calendar for the Kiosk users if you are migrating from anything else than Exchange.

And I cant export them to PST and connect Outlook and migrate them that way.

Does anyone out there know of a smart way to migrate the calendar and contacts for kiosk users?