Below method will guide you on How to create a Guest User in Office365
1. Login to https://aad.portal.azure.com of the tenant you wanted to create Guest user
2. Navigate to Users > All users > and look for " + New Guest User"
3. Enter the External email address and select Invite
4. You will able to see the Invite Guest account under All users now.