Month: August 2014

Renew CA-ROOT and crl lists to use with Forefront UAG Direct Access.

And hi again. Today a customer had problems with Forefront AUG Direct Access. Recently they had renewed CA-Root -certificate and then crl and delta crl -lists got renewed also with name ca-root(1).crl and ca-root(1)+.crl They are using a internal CA-Root…

Continue Reading Renew CA-ROOT and crl lists to use with Forefront UAG Direct Access.

Add or Remove Bulk permissions to Exchange mailboxes.

Lets see How to Change Calendar Permissions in Bulk . To Restrict Free/busy or Allow Free/busy How to Get Calendar Permissions For a Specific Mailbox ? Default Calendar permissions of a Mailbox Get-MailboxFolderPermission –Identity “EmailAddress”:calendar |fl How to Change (Allow/Restrict)…

Continue Reading Add or Remove Bulk permissions to Exchange mailboxes.

Increase the maximum MAPI session limit from 32 concurrent to 5000 concurrent

Outlook 2013 works differently, but Legacy clients need modifications to server side. In Exchange 2013: Create Throttling Policy and apply it to all mailboxes:

Then add registry key (below is for 5000 concurrent connections): [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem]”Maximum Allowed Sessions Per User”=dword:00001388…

Continue Reading Increase the maximum MAPI session limit from 32 concurrent to 5000 concurrent

get-aduser old mail-attribute and set-aduser to a new one and keeping the old prefix.

So you have generated users in your ad that you want to move to Office 365. Before you dirsync the user to the Cloud you can change mail-attribute. But after the user in synced to Office365 you cannot do this…

Continue Reading get-aduser old mail-attribute and set-aduser to a new one and keeping the old prefix.

Export biggest mailbox users with attributes to csv!

This is how: Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select DisplayName,servername,database,StorageLimitStatus, @{name=”TotalItemSize (MB)”;expression={[math]::Round((($_.TotalItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0]. Replace(“,”,””)/1MB),2)}},@{name=”TotalDeletedItemSize (MB)”;expression={[math] ::Round((($_.TotalDeletedItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0]. Replace(“,”,””)/1MB),2)}},ItemCount,DeletedItemCount | Sort “TotalItemSize (MB)”  -Descending | Export-CSV “C:dirAll Mailboxes_120814.csv” -NoTypeInformation Love it!

Continue Reading Export biggest mailbox users with attributes to csv!

CRM 2013 sp1 and a new List component

Hi again, Today I got in the middle of a problem. CRM client told me:   But at the same time Web interface was working correctly. After some investigation i found that CRM for Outlook version have been updated to…

Continue Reading CRM 2013 sp1 and a new List component

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.