Cannot login to O365 web portal using my admin credentials

I am new admin in a hybrid environment on 2010 on premise exchange and Office 365. This organization is slowly moving users to O365.
The organization has created my logon as global admin and mailbox on inhouse exchange and it is working fine internally.

Issue is when I try to login to Web O365 using my global admin account I get an error:

Selected user account does not exist in tenant 'Compnay Name' and cannot access the application '4345a7b9-9a63-4910-a426-35363201d503' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account.

What do I need to do on my account in AD / exchange in order to be able to login to O365 as global admin ?

( Sorry new to O365 and can use some help )

Nick PerksIT DirectorAsked:
Who is Participating?
Mohammad Ishtyaq KhatriCommented:
Looks like your account is not synchronized via AAD Connect. In order for it to work you AD account need to be synced with the tenant.

1) If you can connect to Azure AD via Powershell. Try doing a get-azureaduser -ObjectID "UPN" See if that returns the result

More on how to connect to Azure AD

2) If your account doesn't shows up in step 1:

Check if your account is in proper OU which is syncronised. Check for missing attributes if you are using any for AAD Connect

3) If you account shows up in Step 1:

Check on Office 365 portal ( to see if your account is blocked for signing in. Also, check if you have proper Exchange online license assigned to your account.

Also check if your account is stuck on AAD Sync process due to any reason. You can check it right on the  Office 365 portal ( in the section where it says Dir sync status.
IvanSystem EngineerCommented:

you need to  either:
1. Ask  a person with Global Admin right in o365 to  create a new user  account for you, with GA rights
2. If you have synced user account from local AD with o365, then ask a  person with GA rights in o365 to assign GA right to you account.

Nothing much you can do about it.

Vasil Michev (MVP)Commented:
Is the account actually synchronized to Office 365? Use any other admin account you have and make sure you can see it in the list of Active users.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.