List All Domain Joined User

Hello all, not sure if this is the right place to be asking. I’m currently working in a Hybrid Azure AD environment and we are working on full cloud transition. As of the last few months, new users have been Azure joined, however a vast majority of users are still on-prem domain joined.

What I’m trying to do is figure out a script I can use to separate domain joined users from Azure joined and create a list of them, so that I can get an accurate number of users profiles that need to be migrated.

Thanks in advanced for any insights, and if there is another venue I should go to ask this, please let me know.

Thank you!

Welcome to the forum. :wave:t4:

You actually forgot to ask a question. :wink:

Please keep in mind …
This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.

We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.

Regardless of that - what you asked for is a common question and has been asked a lot of times and has been answered a lot of times already. You don’t have to re-invent the wheel again. Please use your prefered internet search engine and search for examples for tasks like this you can adapt to your particular needs.

If you have an on prem AD, couldn’t you just pull a list of AD accounts there and have your list of who needs to migrate? Cloud native wouldn’t show up there, so if it is in on prem AD, wouldn’t that by definition mean non cloud and in need of migration?