I regularly work with multiple Azure Active Directory and Office 365 tenants, recently I wanted to utilise a domain that was attached to a tenant that had expired in December 2015, but did not know how to recover it.
The various portals that you can utilise offer very little guidance.
Azure Active Directory was a little more than useless
but the new Office 365 portal offered hope, with an indication as to which tenant it was attached to.
So now what are my credentials?
Fortunately there is a link to reset your account details which were emailed to my @outlook.com email address which I added when creating the tenant.
So once I had recovered my credentials then I could access the portal and delete the domain.
If you get the message below, you have objects(users, groups or contacts) in the directory that still have the domain you are trying to delete associated to them.
The domain is now removed and can be utilised in another tenant.
Recently I faced an issue with Azure AD Connect.
A Windows Server 2012 R2 box with direct access to the internet with Azure AD Connect installed and running under the context of a service account.
As Azure AD Connect was running in the context of a service account, it wanted to utilise a proxy server to connect to the internet as it is WPAD aware.
The error message given was:
“An error occurred executing Configure AAD Sync task: user_realm_discovery_failed: User Realm Discovery Failed”
The trace log file also reported:
Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: user_realm_discovery_failed: User realm discovery failed —> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
All the solutions (AADConnect Troubleshooting) I found on the internet pointed me at configuring the machine.config (C:\Windows\Microsoft.NET\Framework64\v4.0.30319) with the required proxy server settings, but in my scenario I did not want to utilise a proxy server.
To resolve the issue I added the syntax below to the machine.config file which resolved the issue.
As always test in your environment before deploying into production.
AADConnect Troubleshooting – https://azure.microsoft.com/en-gb/documentation/articles/active-directory-aadconnect-troubleshoot-connectivity/ (Accessed 16/05/2016)
Azure Active Directory Connect (AADConnect) is the tool that connects your on-premises Active Directory to Azure Active Directory.
At the end of the setup there is a rather unhelpful message asking you to run
Translated to English this means. (also see Update 20/07/2016)
- Open PowerShell and set your execution policy to unrestricted.
- Change directory to
C:\Program Files\Microsoft Azure Active Directory Connect\AdPrep
- Supply values for the following parameters:
AdConnectorAccount: your AAD connector account.
AzureADCredentials: your credentials for Azure.
- If successful you should see
Initializing your Active Directory forest to sync Windows 10 domain joined computers to Azure AD.Configuration Complete
- As good practice, set your execution policy back to restricted.
This must be run from a computer that has the Active Directory module for Windows PowerShell and the AD DS Snap-Ins and Command-Line Tools installed.
Failure to have both options installed will result in two errors:
The first error is obvious.
The second is not quite so obvious, a dsacls.exe error is generated as the command line tooling is not installed.
Last week Microsoft announced some radical changes to the Microsoft MVP program
Steve Guggenheimer: Moving into the next generation of the Microsoft MVP Award
MVP Website: Award Update – Oct 2015
In summary (there are a few exceptions), MVP’s have been categorised under one of ten new headings. Directory Services now comes under the categorisation of Enterprise Mobility, therefore I am now an MVP for Enterprise mobility.
My initial thought was, Enterprise Mobility? I don’t do telephony
I soon realised Microsoft’s logic in their categorisations, enterprise mobility is not all about mobile telephones and the utilisation of various parts of the radio spectrum, it is in fact about being able to access your enterprise from anywhere and on any device and identity is a key component of Microsoft’s enterprise mobility strategy.
In an on-premises world the de facto enterprise identity solution is Active Directory (Directory Services) and in the Microsoft cloud it is Microsoft Azure Active Directory. The term hybrid identity is the fusing of the two methods of identity together to create a seamless identity solution be it on-premises or in the cloud.
As I delve deeper into the deeper corners of Microsoft identity, I will share my story to this blog and unlike the 15 year old teenager that is Active Directory, not everything that can be written about the Azure Active Directory and Hybrid Identity has been written yet.
I am once again honoured to be a recipient of the Microsoft MVP award for Directory Services.
Since first becoming an MVP in 2009, the Directory Services designation has evolved to cover many complimentary technologies and solutions in both on-premises and cloud solutions, such as traditional Active Directory to Azure Active Directory. Microsoft’s rate of innovation and change within the Azure space alone is phenomenal and shows no sign of abating and whilst these new technologies are exciting they have to be learnt and understood in order to implement and support the adoption of these new technologies.
The book I am currently reading “Rookie Smarts” by Liz Wiseman highlights an interesting research analysis, in the book Liz states that.
“Knowledge decay in the 1970’s was 10% per annum” but “In 2005 it was estimated that knowledge becomes obsolete at 15% per year, but in high tech this is as much as 30%. If information doubles every 9 months and decays at 30% a year; within 5 years, only 15% of your knowledge will be relevant”.
If I want to keep being awarded the MVP designation, it’s obvious (well to me anyway) that I need to keep up with the technology (as well as supporting the community), else my skills will soon be as relevant as my MCSE in NT 3.51.
It never fails to amaze me how ones words and actions can directly and indirectly influence another person’s actions or even alter their career path. Over the years I have always tried to share my knowledge with my peers and the IT community as a whole and yesterday I felt rather humbled to receive this comment in an email.
This is my first full time AD role. I find it funny you ask [sic. an irrelevant question], you’re indirectly responsible for me getting this job. I followed your work for years, so thank you.
It’s the little things that make a big difference.
This summary stems from a brief conversation within a peer circle. A parallax perspective on the issue of passwords.
Most IT organisations have an IT Security policy, which defines the required password parameters for an organisation. Active Directory provides a method to enforce the password parameters, from their complexity and length to the frequency that they must be changed.
Once a company’s password policy is understood and required parameters are known, internally bad practice can set in and this is not necessarily limited to the end users, IT can equally be at fault. For example the service desk may create all new user or service accounts with the same common password. Password1234$$ or Welcome2015!
So what has this got to do with hacking your own Active Directory?
Using one of the numerous Active Directory password cracking tools on the internet, you can analyse (crack the easy ones) the passwords stored in Active Directory and produce a list of the most common passwords.
These common passwords can then be cross referenced to their owners and with a little bit of mathematics, it is possible to deduce that perhaps with 10 passwords, 70 % of all systems can be accessed, not only is this a rather frightening metric, but this is reality and one attack vector for anyone with access to a domain controller.
This is not a simple problem to fix with the current architecture of Active Directory, but with small process changes and education around the use of common passwords the percentage of systems that could be accessed or compromised may be reduced.