Login Script on Azure AD

chunhua 1 Reputation point


Is it possible that we could enforce a machine to run scripts when it registered to Azure AD?
It looks like Intune provide this function?
Is there any way to have this function without Intune? just want to explore more possible solutions


Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
2,113 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,758 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Jason Sandys 30,881 Reputation points Microsoft Employee

    Azure AD is not a device management platform and has no ability to apply policy, configuration, or scripts to devices associated with it. You need a management tool to enforce any type of management policy, configuration, or setting on devices.

    No comments

  2. Mario Worwell 11 Reputation points

    Implementing Intune looks like the best option by far. Also, you implement device policies on the machines once they’re fully joined.