Hi @Awais ahmed
Thank you for asking this question on the **Microsoft Q&A Platform. **
The way that I see it is a little complex.
You will require a Domain Controller On-Premises, join those devices to the domain controller, and then use an Azure AD Connect to use the same credentials on-premises and in the cloud
Hope this helps,
Carlos Solís Salazar
----------
Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.