Skip to main content



How can we help you?


Druva Documentation

How to backup only those users who have an employee ID in Azure AD

Heads up!

We've transitioned to a new documentation portal to serve you better. Access the latest content by clicking here.



Suppose there are many employees in the company. Some are permanent employees, and some are temporary employees. Only permanent employees have employee ID, and temporary employees do not have employee ID.

We want to backup only the users who are permanent employees and have employee IDs.

Procedure title

  • Create a Security Group in Azure with  Membership Type of "Dynamic User".

  • Add below dynamic query to the membership rules and click Save.

“user.employeeId -ne $null”




  • Was this article helpful?