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?

[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.

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.
Mohammad Ishtyaq khatriSr. Systems EngineerCommented:
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.

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
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.