No credential popup during Outlook configuration

While configuring an outlook client, I received the following message and no popup to enter my credentials.

No credential popup during Outlook configuration.

Create two DWORD values at: Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity

  1. DisableAADWAM => value 1
  2. DisableADALatopWAMOverride => value 1

Intune: Import Administrative Template

Import administrative templates in Intune.

  1. Surf to: Devices – Microsoft Endpoint Manager admin center
  2. Import
  3. Select the admx and corresponding adml file
Import administrative templates in Intune. - import admx

Error: “The upload of this ADMX file has failed. To continue, you will need to delete this upload, address the action in the error details and try again.”

Details: ADMX file referenced not found NamespaceMissing:Microsoft.Polcies.Windows. Please upload first

Import administrative templates in Intune. - error upload
  1. Download the latest Administrative Templates (
  2. Open the msi file (for example with 7-zip)
  3. Using the previous steps import windows.admx with the corresponding adml file

Intune – Use a custom detection script

Because of old installations, TeamViewer is sometimes installed in the 64 bit version and sometimes in the 32 bit version. Since I would like to have a clear overview in Intune, I created the script below.

$tv = "C:\Program Files\TeamViewer\TeamViewer.exe", "C:\Program Files (x86)\TeamViewer\TeamViewer.exe"
$result = ($tv | Test-Path) -notcontains $true

if ($result) {
    Write-Output "Not installed"
    exit 1
else {
    write-output "Teamviewer detected, exiting"
    exit 0
teamviewer detection script intune

Orca: Office 365 Advanced Threat Protection Settings

ORCA is a project to help Office 365 tenant administrators validate their anti-spam and anti-malware settings against recommendations from Microsoft. ORCA is installed as a PowerShell module with just one cmdlet. After running Get-ORCAReport, youā€™ll have a report containing recommendations and observations about your configuration.

  1. Login to Exchange online with powershell
  2. Install the Orca module
Install-Module -Name ORCA
  1. Get the Orca report


Powershell: Export users from AD to Excel

Export all users from AD from a specific OU (recursive) to Excel

Get-ADUser -Filter * -SearchBase $OU -SearchScope Subtree | Select-object DistinguishedName,Name,UserPrincipalName | export-csv -path c:\temp\userexport.csv

Only enabled users

Get-ADUser -Filter * -SearchBase $OU -SearchScope Subtree | Select-object DistinguishedName,Name,UserPrincipalName,Enabled | Where {$_.Enabled -like "False"} | export-csv -path c:\temp\userexport.csv 

Basic Ruckus switch configuration

In this example, we are going to configure a Ruckus ICX 7150-24.

  1. Connect your computer to the switch with the console port
  1. Open Device Manager to look up the COM port number
  1. Open Putty and connect to the assigned COM port
  1. Login with the default username and password (super / sp-admin) and change the default password
  1. Configure the switch with default configuration
conf t
ip address
ip default-gateway
ip dns server-address
hostname SW1
cdp run
lldp run
no web-management http
web-management https
no telnet server
enable super-user-password <password>
username icxadmin password <password>
aaa authent login default local
aaa authentic web-server default local
clock timezone europe cet
  1. Save the configuration
wr mem
  1. Reboot the switch

Expand virtual disk of Azure SQL Virtual Machine

Expand a virtual disk of Azure SQL Virtual Machine in the Azure Portal.

Expanding of the disk can be done online.

  1. Go to the Azure Portal
  2. Search for “SQL virtual machines”
  1. Select your SQL virtual machine
  2. In the menu, select “Storage Configuration”
  1. Configure the data disk you want to expand
  1. Select the disk of the size where you want to expand the existing disk with
    • For example 1, your disk is currently 128Gib and you want to extend it to 256Gib, choose the 128Gib disk
    • For example 2, you disk is currently 256Gib and you want to extend it to 768Gib, choose the 512Gib disk
  1. That’s is, you don’t have to do anything in the OS