what's the recommended way to grant office365 administrators full access permission to all my Office365 user mailboxes

what's the recommended way to grant office365 administrators full access permission to all my Office365 user mailboxes?
The Admin needs to open user mailbox to check the mailbox contents for troubleshooting purposes and it takes a lot of time for the permission to take effect if it's done individually so that why I need a  solution to this issue.
-I have all the user's in a CSV file
-I'm hoping that a simple powershell script might be the fastest way to apply the admin permission  to all of my users' mailbox.
Shiva NarineExchange Server AdministratorAsked:
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.

gilnovSystems AdministratorCommented:
PowerShell is needed for this but don't do it to individual admin accounts. It's best to do this sort of thing using security groups. That way it's easy to change later by adding or removing members. Here's a good article on the topic: https://www.cogmotive.com/blog/office-365-tips/grant-full-access-to-all-mailboxes-in-office-365

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
Shiva NarineExchange Server AdministratorAuthor Commented:
great..thanks gilnov.
gilnovSystems AdministratorCommented:
Happy to help.
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

From novice to tech pro — start learning today.