Auto Licenses assignment to new user in Azure AD

Faizan Chaudhary 26 Reputation points
2019-11-27T12:41:48.097+00:00

Hi All,

I am newbie to "Office 365 admins" and still learning things. Not sure my question would make sense.

Background : Our on premises AD DC is connected to Azure services. When we create user account here in AD, It sync to Azure Active Directory Admin Center which takes around 15-30 mins. then we assigns basic licenses manually.

My Question : I want that whenever we add account and it gets sync on Azure AD, I could get some alerts ,( Which I already tried on "O365 security and compliance > Manage alerts > User added > sent me on my email with this condition" but didn't get email alerts) So that I could automate these basic tasks via Azure automation (Power shell scripts) When I receive e-mail alerts . Could someone please help me on this or another way to do that.

Note : Alerts not important but auto assignments of licenses when new user appears in AAD is my requirement. Any way to do that.

A big thanks in advanced.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,453 questions
0 comments No comments
{count} vote

Accepted answer
  1. Lukas Beran 176 Reputation points
    2019-11-30T11:43:52.013+00:00

    So you have Azure AD Connect that does the sync for you. Sync cycle by default starts every 30 minutes. Then the selected objects (based on some config) are synced to Azure AD which is the identity provider for all MS cloud services.

    What you need to do is to create a user group, sync this group to Azure AD and place your user accounts in our onprem AD to this group. And in Azure AD, configure Group Based licensing (the provided by JulienGoindin-666), so all users that are members of the group get selected licenses automatically. This is the recommended way, don't do any magic with PowerShell :-)

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Julien Goindin 11 Reputation points
    2019-11-27T13:09:34.797+00:00

    You could check that:

    https://learn.microsoft.com/fr-fr/azure/active-directory/users-groups-roles/licensing-groups-assign

    It's for provide automaticaly a licence to a user in a group

    2 people found this answer helpful.
    0 comments No comments