question

chunhua-1999 avatar image
0 Votes"
chunhua-1999 asked chunhua-1999 commented

Login Script on Azure AD

Hi,

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

Thanks.

azure-active-directorymem-intune-general
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is the machine an Azure VM? The only way I can think of is possibly using an Azure Function to trigger when the machine starts.
Intune would definitely be your best option in this scenario.

0 Votes 0 ·

Thank you anonymous user

Our scenario are physical machines.
We use Azure AD to manage the devices.
It looks like Azure AD could view these devices, but can not manage them without Intune.

0 Votes 0 ·

What is the OS of the devices? What do you want to run as part of the startup script?

0 Votes 0 ·

Windows platform, I would like to enforce devices to install a specific application when the device register to Azure AD.

0 Votes 0 ·

As noted, this is not possible as Azure AD does not contain this functionality. You need a management tool like Intune.

1 Vote 1 ·
Show more comments
Jason-MSFT avatar image
1 Vote"
Jason-MSFT answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MarioWorwell-1335 avatar image
1 Vote"
MarioWorwell-1335 answered chunhua-1999 commented

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Got it, thanks !

0 Votes 0 ·