How to add a guest user to office 365 group

We have several groups where i need to add an external user as a guest. We use an on premise AD using ADSync. I'd rather not add them in AD (i also don't know how to add a guest user in AD).
ronfastI.T. DirectorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
Use the UI tools, extending an invitation from PowerShell can be done via the New-AzureADMSInvitation cmdlet, however you will still have to manually add the guest user later on to any of the workloads (Groups, Teams, etc). Tony has detailed articles on how to do this for Groups ( and Teams (

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ronfastI.T. DirectorAuthor Commented:
Excellent. Thanks!!
ronfastI.T. DirectorAuthor Commented:
Sorry, one more question if you don't mind. How do i get access to the AzureAD cmdlets? Like Get-AzureADUser. I get:

Get-AzureADUser : The term 'Get-AzureADUser' is not recognized as the name of a cmdlet, function, script file, or operable
when i execute it in my Azure Active Directory module for Windows Powershell
Vasil Michev (MVP)Commented:
ronfastI.T. DirectorAuthor Commented:
thank you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.