Azure Join AD Failed in Windows 10 - azure

I wanted to Join my Windows 10 device to Azure AD, but unfortunately I'm getting this below error, i tried to solve this issue by Disable/Enable Auto enrollment, Microsoft intune Settings etc. but still this issue is not solved. I'm using AD P1 Premium currently, Even i registered my device using P1 license 6 months ago, but now i can't able to register new devices.

Kindly disable the MDM settings in the Azure portal. After Turning off MDM and MAM check whether you were able to join the device to Azure AD.
Kindly let me know if you have any further queries.

Did you try this:
Login to https://portal.azure.com with your administrator
credentials.
Select Azure Active Directory on the left.
Go to Devices and then select Device Settings.
Set Users may join devices to Azure AD to All or Selected.

Related

Migrate from Hybrid Azure AD to Full Cloud

Currently setup with a hybrid Azure AD. Most of our devices are still joined to the local AD servers, with a few newer devices having been onboarded via Azure AD instead of local AD.
I've been searching for a while now but there doesn't seem to be many good resources for the move away from hybrid, other then: Manually unjoin and rejoin every device.
Hoping that I am missing something here and there is a way to do this via a script or other means?
Any suggestions or links are greatly appreciated.
AFAIK, currently there is no way to automate migrating from hybrid Azure AD devices to Full cloud.
You cannot change a hybrid joined device to full cloud without first
removing from the domain and joining to Azure.
You can find the similar scenario in this Microsoft Q&A by Sander Berkouwer that confirms the above.
You have to manually unjoin and rejoin every device. Before removing the devices, make sure to check the state of them using dsregcmd /status.
If DomainJoined is 'YES', unjoin the devices by following the below steps:
Make sure to turn off automatic registration before removing hybrid Azure AD devices.
Run command prompt as an administrator and execute the below command as a script to unjoin several devices in bulk: dsregcmd.exe /debug /leave
Please check the below links that can give you some pointers.
Migration from Hybrid to AAD by sikumars-msft - Microsoft Q&A
Convert hybrid AAD devices to full AAD joined - Azure Forum (spiceworks.com)

Azure AD run application at startup

I have an azure active directory setup in my company
what i want to do is to run exe or PowerShell file when any user login using his azure ad account on his computer
because there is an application we must use at work and it should be run at every device on the company
i did search on this issue but i didn't find any useful solution
so is this is possible
Your condition can be addressed with MS Intune provided you should have license for it.
MS Intune integrates with Azure AD to manage devices and user based on your custom organization policy. You must enroll your devices in MS Intune MDM for the Startup/logon PowerShell Script to be run on those devices. Devices must run Windows 10 version 1709 or later. The Devices should be Azure AD joined and enrolled with auto enrolment or manual enrolled policy.
The Microsoft Intune Management Extension is a service that runs on
the device, just like any other service listed in the Services app
(services.msc). After a device reboots, this service may also restart,
and check for any assigned PowerShell scripts with the Intune service.
If the Microsoft Intune Management Extension service is set to Manual,
then the service may not restart after the device reboots
Would suggest you follow this MS document to get to know what would be the
Prerequisites and create a script policy and assign it devices.
https://learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension

Issue with Hybrid Azure AD join of Windows 7 devices

I am trying to do Hybrid Azure Ad join of Windows 7 devices but while trying to enable Hybrid Azure Ad join in AD connect the check box for Supported Windows Downlevel domain-joined devices is disabled.Hybrid Azure AD join of Windows 10 devices are working fine.
Any suggestions why it is disabled.
In almost all cases if you can not enable an option it means it is not support.

Azure AD 'generic' settings for users, devices

There are some default settings for devices in Azure AD:
- Users may join devices to Azure AD (All-Selected-none)
- Additional local administrators on Azure AD joined devices (Selected-None)
- Require Multi-Factor Auth to join devices
an so on.
I am not able to find any solution to do this PROGRAMMATICALLY.
I went thru all MS Graph (also beta), tried PowerShell - Azure AD, Exchange Online, but without any result.
Only Msol has cmdlet Set-MsolDeviceRegistratioinServicePolicy, which does the job. But not whole job - I can't find how to set users/groups which can be selected.
And anyway, does MS Graph have this functionality?
MS Graph doesn't have this functionality yet. All the operations of Device are list here. Currently we can manage device identity using the Azure portal. You can send your feedback regarding this at the bottom of this link. Hope it helps.

Azure AD is not redirecting to the MDM term of use URL

I have added an MDM (On-Premise) to Azure AD tenant in order to auto-enroll users (on windows 10) to a third party MDM once they sign in with their Azure AD accounts. When users try to sign in on Access work or school >> Connect >> Join this device to Azure Active Directory they got this error: Something went wrong. Looks like we can't connect to the URL for your organization's MDM terms of use.
Checking the MDM's server logs I realize that Azure AD never calls/redirect the user to the MDM's terms of use URL, in other words, on the MDM server there is no sign that Azure AD is trying to reach it.
Would you please give me some hints why this happens?.
On Azure AD tenant I have configured the following:
Enabled P2 license for each user.
Scope of the MDM is set to Some and for a Group where its members need to be enrolled to the third party MDM.
On MDM Settings (on Azure AD) the reply URL (just one) is set correctly.
MDM terms of use URL and discovery are set correctly.
The MDM config on Azure AD looks like this:
Azure AD MDM URL configuration.
The MDM Properties on Azure AD look like this:
Azure AD MDM properties.
In advance thanks a lot.
The Azure AD Premium P2 license allows you to join Azure AD with the Windows client, but it does not include Intune.
I would check settings to see if you auto-enroll is configured for Intune. That could explain the above message.
Also, please ensure that you have the right App ID URI and App ID configured as setting the wrong one here can also cause this error.
I ran into this problem today from an OOBE and all of my searching pointed to licensing issues, which turned out to not be the fix for me.
The object in Azure AD had been disabled. This was strange because it was an autopilot device and was disabled in AAD straight from the vendor, which hadn't been the case for other devices I had been receiving for years. I searched for and enabled the device in AAD and it joined without issue. I poked around and found about 30 other devices were in the same state. Hopefully this isn't a new step I'll have to do for all autopilot devices going forward.

Resources