I was trying to attach permission to user with a company email like [email protected], but it wasn't working.
First, I started with creating the role and adding its permissions, then I navigated to the IAM section to attach the role to the user, in Principal I added the email as mentioned which is [email protected], then i selected the custom role, but unfortuatily it didn't work The user I added his email was trying to find the project, it doesn't show in his panel as it isn't added, refreshing the console home, but nothing is working. I came back again to add a predefined role like Viewer, but it also didn't work.
After that, I tried to add the same roles to a gmail account like [email protected], It worked.
I searched a lot to understand what is happening, but I cannot find a logical explaination.
After that, I tried to copy the project URL from my window "admin window", like the following "https://console.cloud.google.com/welcome/new?project=########" and pasted this url in the user window, so the user can check whether he can access the project or not, and it's worked.
Now he can access the Project, and everything is fine.
How can I avoid this from hapenning again? and why this is happening? is this normal?