Author archives: Gert Kjerslev

Howto sync msExchHideFromAddressLists attribute to Office 365

 So today I had a customer witch has move there On-prem Exchange to Office 365 (Exchange online). The old Exchange server was long gone and therefore not more Exchange management tools. The customer wanted to hide a user form the global address list (GAL), and had found the msExchHideFromAddressLists attribute in the attribure editor on that user and set it to “TRUE”. However in the user still was showing up in the GAL.
 User properties
When I ran the PowerShell command to see the state of the msExchHideFromAddressLists attribute “get-Mailbox -Identity user@domain.dk | fl HiddenFromAddressListsEnabled” I the result : “HiddenFromAddressListsEnabled : False” back, witch was not what I where looking for. After some poking around I found a post on a MS forum, talking about this and it turned out the “msExchHideFromAddressLists attribute” was not being synced at all and it should be added to the Synchronization rule. You can do this with the “Synchronization Rules Editor” witch can by found on the server with Azure AD Connect install.
 Sync Ruld Editor
In the “Inbound” rule select “in from AD – User Common” click Edit and “No” to continue editing the current rule.
Sync Ruld Editor

Add msExchHideFromAddressLists attribute

Then select “Transformations” and click “Add Transformation” The new transformation should be : FlowType=Direct, Target Attribute=msExchHideFromAddressLists and Source=msExchHideFromAddressLists. Merge type=update. Then click Save. Now from Powershell, on the server with Azure AD Connect sync installed, type “Start-ADSyncSyncCycle -PolicyType Delta” and wait (I waited about 5-8 min.) for the update to take effect. You can the “get-Mailbox -Identity user@domain.dk | fl HiddenFromAddressListsEnabled” command, this should result in: “HiddenFromAddressListsEnabled : True”.
I hope you can use this information and thank you for reading. Leave comment below and have a nice day!

Azure Active Directory Application Proxy Connector Ports Test Tool

Here is a cool tool for trubleshooting connection to Azure AD. https://aadap-portcheck.connectorporttest.msappproxy.net/      

How to get one year Azure credits for free

 
Update: You can also get this benefit with Microsoft IT Pro Cloud Essentials Here is a quick tip if you want to setup a test lab or some test development i Azure for free. Normally you can get a 30 day Free Azure trial subscription but what if you want to test for more then one month? Azure is a big topic and will take most more then one month to test out. Good new! Microsoft have a 1 year free Azure subscription as well. There are some limitations but all in all I think that it perfect for testing in my lab.What you need to get the free subscription is:  
  • An Azure Account (If this you first time testing/trying Azure, I will recommend signing up for the free 30 day trial first and then add this one year free subscription when the trial runs out.)
  • Sign up for a free “Visual Studio Dev Essentials” account. BTW: You also get free 3 months pluralsight access here as well.
  Go the the “Visual Studio Dev Essentials” site and sign up with you’r Microsoft account (This is the same account you use for Azure) Then you can claim the $25 azure credit per month for one year. Now you can use the free credits to test all the great things in Azure :-). One limitation I have see is that not all locations are supported eg. I live in North Europe and wanted to use the datacenter here, but was limited to the West Europe datacenter, not a show stopper but a thing to note. 🙂   I hope you can use this post for some free testing in Azure. Leave a comment below and let me know what you think.
 Dev Essintials
Dev Essentials
 Not all
   

Installing Nano Server on non US windows

Today I wanted to try out the new Nano server the comes with Windows Server® 2016 Technical Preview 4. The installation steps has been improved much sins I tried Nano server in TP 2. The detailed information on deploying at http://www.aka.ms/nanoserver are good but I still had some problems setting up a Nano server VM on my Windows 10 in Hyper-v. First problem was the good old Execution Policies in Powershell. You need to allow RemoteSigned. To do that run this command “Set-ExecutionPolicy -ExecutionPolicy RemoteSigned”. Next problem was that I have a Windows 10 setup for Danish (dk-DK) keyboard and timezone, but not en-us as the default is in the “NanoServerImageGenerator.psm1”. In my case I got an error saying : The ‘da-dk’ directory does not exist in the ‘Packages’ directory (‘D:\NanoServer\Packages’). It is stated on the Getting started guide, some lines down that there is a -Language parameter (for example, -Language dk-DK) but on the Preview ISO there is only a en-us folder so you will have to use -Language parameter like eg : “New-NanoServerImage -MediaPath D:\ -BasePath .\Base -TargetPath .\Nano1\NanoServerVM.vhd -ComputerName Nano1 -GuestDrivers -Language en-us”

Installing Windows 10 using the media creation tool

Creating the media for a Windows 10 installations have never been easyer. You just have to download the Microsoft media creation tool from Microsoft and then choice installing on a USB or DVD/ISO file. You also have the option to upgrade the PC you are running the tool on.

To make a clean installation of Windows 10 I went with the old-school method of creating a ISO for burning on to at DVD.
First select if you want to install on the PC you are current on or another PC. MCT1
Then select Language, Edition (Home or Pro) and Architecture (32bit or 64bit or both). MCT2q  
 Now you will need to make the choice of USB or ISO. For USB you need a minimum 6GB stick on for a midia with both 32bit and 64bit you will need a dual layer DVD. MCT3  
 You will then have to wait for the bits to been downloaded. MCT4
 Lastly you can burn the ISO file to at DVD and you’re all done. 🙂 MCT5
 I hope you can use the mini guide and thanks for reading.
 

Recommended hotfixes, updates, and known solutions for Windows Server 2012 R2 Hyper-V

Microsoft Hyper-v         I found this list on a blog from Micosoft with recommended hotfixes, update and more for Window Server 2012 R2. Hyper-V: Update List for Windows Server 2012 R2 Also the KB from Microsoft points out some recommeded hotfixes and update for Windows Server 2012 and Windows Server 2012 R2 Hyper-V Network Virtualization (HNV) environments. Recommended hotfixes, updates, and known solutions for Windows Server 2012 and Windows Server 2012 R2 Hyper-V Network Virtualization (HNV) environments  

“StalledDueToMailboxLock” when migrating Publicfolder to Exchange 2013

Some time ago I moved a customers public folder from Exchange 2010 to Exchange 2013 CU5. I flowed this excellent KB from Microsoft http://technet.microsoft.com/en-US/Library/jj150486. But when I got to the part of finalizing the move I got this error when I ran “Get-PublicFolderMigrationRequest | Get-PublicFolderMigrationRequestStatistics” StalledDueToMailboxLock and a message that the job will resume i 5 minutes or so. It turns out that the information store was locking the PF mailbox, after a restart of the information store service the job completed 100% at the next retry.!        

vExpert 2014 Announcement

It’s a great honour to be awarded vExpert for the second time in a row. I’m glad that I could help in the VMware community. A big thanks to VMware and the people behind vExpert.
Here’s the full list of 754 vExperts. http://blogs.vmware.com/vmtn/2014/04/vexpert-2014-announcement.html
Congratulations to all vExperts 2014, keep up the good work!


Log Insight 2.0-beta is available

VMware has just made Log Insight 2.0 beta available for downlaod. Also there is a webinar on the 1st of April. You can Register to get a quick overview of our new features:overview of our new features:
  • Scale-Out with High Availability
    • Cluster deployments up to 6 nodes
  • Proactive Analytics
    • Automated data summarization of event types
    • Smart fields to aid in extraction
  • Super-Powered Dashboards
    • Easily add new data filters on the fly
    • Interact between dashboard widgets
  • RESTful API for log ingestion
  • Improved self-monitoring tools
  • Windows collection agent
    • Forwards Windows event logs
    • Monitors & forwards flat log files
    • Centralized reporting & management
Download Log Insight 2.0-beta
VMware vCenter Log insight website


Unable to install Microsoft Windows Server 2012 on VMware ESXi host – IBM System x

This will be a “note to self” kind of post. But I guest if you work with IBM or vendor based Windows Server media like IBM’s ROC/OEM you will run in to this. When you get the Windows Server 2012 R2 Datacenter ROC media from IBM, and try to install it in a VM on a IBM VMware vSphere host, you will get to a point where the installer stops and says :
“Please check with your computer manufacturer to resoleve ant issues your are having with this computer. These tools are built to only run on IBM Computers. Since this is not an IBM computer click OK to shutdown”
IBM Windows server 2012 R2 ROC Error
IBM has been so kind to include a system check, to see if the media is used on a non IBM server. This is okay, but in my case the host is a IBM System x! The checker is not designed to run on a VM so you have to do one of two things. 1) you could go out and find a retail Windows Server 2012 R2 DC OEM media that has no hardware vendor checker. 2) you can edit the .vmx file of the VM to add the SMBIOS.reflectHost and set it to true like this : SMBIOS.reflectHost = “true”. This updates the virtual machine BIOS with the IBM Original Equipment Manufacture (OEM) information required to use IBM-provided Operating System (OS) installation media. IBM addressed this with there Windows 2008/R2 ROC media, but it is still true with Windows Server 2012 R2.
Please leave a comment below if you have similar experiences with other vendors or any comment to this post. Thank!