EUCweb / BIS-F

Base Image Script Framework (BIS-F)
https://eucweb.com
GNU General Public License v3.0
96 stars 34 forks source link

Azure: Activation Problems for all Office 365 users #84

Closed matthias-schlimm closed 5 years ago

matthias-schlimm commented 5 years ago

We recently had some problems with an azure ad joined deployment. our base disk joined azure ad which lead to activation problems for all o365 users. The root cause was, that our base image silently joined azure ad - according to MS this is not supported.

So best practice is to run a "dsregcmd.exe /leave" before sealing the image.

also there is an article about deleting some crypto keys when machine has no tpm: http://www.bctechnet.com/windows-sysprepped-machine-fails-to-automatically-register-with-azure

matthias-schlimm commented 5 years ago

this can be useful for BIS-F https://gallery.technet.microsoft.com/scriptcenter/Detect-Windows-Azure-aed06d51 to detect if the VM is running inside Azure and trigger the Right command for azure deployed vm's only

matthias-schlimm commented 5 years ago

Here is the script Detect Windows Azure Virtual Machine to be added to the central functions Confirm-AzureVM.txt

matthias-schlimm commented 5 years ago

ENH 84 - Azure Activation for all Office 365 users and during personlization Displays the device join status