Sorry we’re having trouble signing you in with Office 365

Does this look familiar to You? If so you are not alone and the fix is. Delete Relaying Party Trust for Office 365: And then update federation data with this.

or

http://support.microsoft.com/kb/2647048  And it works also with ADFS…

Continue Reading Sorry we’re having trouble signing you in with Office 365

Change upn-suffix for all the users in certain OU

Get-ADUser -Filter {UserPrincipalName -like “*@domain.local”} -SearchBase “OU=whateverisright,DC=contoso,DC=com” | ForEach-Object {     $UPN = $_.UserPrincipalName.Replace(“domain.local”,”newdomain.local”)     Set-ADUser $_ -UserPrincipalName $UPN } Easy as opening a banana, right? https://www.youtube.com/watch?v=nBJV56WUDng 🙂

Continue Reading Change upn-suffix for all the users in certain OU

Find unlicensed users with powershell in Office 365 and apply a license.

If you have many users synced to Office 365. It will be more efficient to user powershell to license them. This is how: connect-msolservice and enter crendentials. Get-MsolAccountSku will display the license types. And then: $AccountSkuId = “tenantname:STANDARDWOFFPACK_STUDENT” $UsageLocation =…

Continue Reading Find unlicensed users with powershell in Office 365 and apply a license.

Installing Windows Server 2012 R2 Direct Access and Windows 7 / 8

Direct Access is an excellent vpn-solution from Microsoft. With Server 2012 R2 it got even better. There is alot of pages telling how to install it right, but in real life you have to combine some of them. So here…

Continue Reading Installing Windows Server 2012 R2 Direct Access and Windows 7 / 8

Exchange 2010 – Purge Deleted Items before retention limit kicks in.

Get all users Deleted Items size: Get-MailBox | Get-MailboxStatistics | select DisplayName,TotalDeletedItemSize Get a specific users Deleted Items Size: Get-MailboxStatistics <alias> | select DisplayName,TotalDeletedItemSize Purge All Users Deleted Items: get-mailbox | Search-mailbox -SearchDumpsterOnly -DeleteContent Purge a specific users Deleted Items:…

Continue Reading Exchange 2010 – Purge Deleted Items before retention limit kicks in.

Lync 2013 Response Groups Usage Report not working.

Lync 2013 Monitoring is great … well when it works 🙂 Today one customer wanted to open Response Group Usage Report and got nothing after 15 minutes on waiting. The reason was a broken index in lcscdr database. And the…

Continue Reading Lync 2013 Response Groups Usage Report not working.

How to set Exchange AutodiscoverVirtualDirectory Url’s to Empty

Do you know this …no? Well, neither did I. So here goes. Set-AutodiscoverVirtualDirectory -Identity ‘autodiscover (default Web site)’ -internalUrl ($null) -externalUrl ($null) That wasn’t hard, was it? 🙂

Continue Reading How to set Exchange AutodiscoverVirtualDirectory Url’s to Empty

Lync and Exchange Web Services (EWS) and different DNS Domains- Exchange crawling e.g. for presence

Source: http://lyncuc.blogspot.fi/2013/01/lync-and-exchange-web-services-ews-and.html there is always confusion in how Lync is crawling Exchange Web Services (EWS). Generally it is necessary to understand how DNS must be implemented: Just remember, identify if you have DNS Split configuration, different internal and external DNS…

Continue Reading Lync and Exchange Web Services (EWS) and different DNS Domains- Exchange crawling e.g. for presence

TrustModelData: registry keys for the Lync Clients.

And Hi, Excellent article on TrustModelData by Terence Luk: http://terenceluk.blogspot.fi/2013/02/location-of-trustmodeldata-registry-key.html Location of the “TrustModelData: registry key for the Lync 2013 Client Those who are familiar with the certificate warning message: Lync cannot verify that the server is trusted for your…

Continue Reading TrustModelData: registry keys for the Lync Clients.