Powershell DSC error – No matching MSFT_DNSClientServerAddress objects found by CIM query for instances of the ROOT/StandardCimv2/MSFT_DNSClientServerAddress class on the CIM server

Powershell DSC error – No matching MSFT_DNSClientServerAddress objects found by CIM query for instances of the ROOT/StandardCimv2/MSFT_DNSClientServerAddress class on the CIM server   Background –  I was trying to deploy azure dsc extension to add ADDS role on new azure vm using ARM template (extension resource under compute resource). Extension – active-directory-new-domain-ha-2-dc and AD Error –  { “status”: “Failed”, “error”: […]

Continue Reading

Powershell DSC error – Cannot bind argument to parameter ‘ResourceKey’ because it is an empty string.

Powershell DSC error – Cannot bind argument to parameter ‘ResourceKey’ because it is an empty string.   Background –  I was trying to deploy azure dsc extension to add ADDS role on new azure vm using ARM template (extension resource under compute resource).   Error –  code”: “ResourceDeploymentFailure”, “message”: “The resource operation completed with terminal […]

Continue Reading

How to setup Azure Authentication app for Azure multi-factor

Well, if you want to setup multi-factor authentication for Azure user then there are multiple ways to get the verification code/notification as an second step for authentication like phone call, SMS, mobile app notification, mobile app code. First you might have to take look at “How to enable multi-factor authentication for Azure user – Step […]

Continue Reading
Azure AD Connect - ready to configure page.

How to sync on-premises Active Directory to Azure Active Directory with Azure AD Connect?

How to sync on-premises Active Directory to Azure Active Directory with Azure AD Connect? Azure AD Connect Azure AD Connect is a tool that connects functionalities of its two predecessors – Windows Azure Active Directory Sync, commonly referred to as DirSync, and Azure AD Sync (AAD Sync). Azure AD Connect will be now the only […]

Continue Reading

How to establish trust between two AD domain which are on azure VM – Test lab senario

How to establish trust between two AD domain which are on azure VM? you are here that means i am sure you must be looking solution to setup trust between two domain which are set up on azure for testing purpose.  i am going to explain step by step process to enable the trust between […]

Continue Reading

Windows Active directory Trust type and difference

Windows Active directory Trust type and difference: You can use the New Trust Wizard or the Netdom command-line tool to create four types of trusts: external trusts, realm trusts, forest trusts, and shortcut trusts. The following table describes these trust types.   Trust type Transitivity Direction Description External Nontransitive One-way or two-way Use external trusts […]

Continue Reading

Powershell to Reset password of test users who are member of one group

Powershell to Reset password of test users who are member of one group You can reset password of bulk users who are member of group1 by using below command: $upasswd = ConvertTo-SecureString “Abcd111*” -AsPlainText -Force Get-DistributionGroupMember group1 |foreach {write-host $_.PrimarySmtpAddress ; Set-ADAccountPassword -NewPassword $upasswd -Identity $_.Alias} Note – please change input values (marked in yellow) […]

Continue Reading