Pull O365 Licenses

I've been looking on different forums, but no luck. Is there a way to pull a users name, email, and licenses they consume in PowerBI? Is there a connector that can pull this information based on a scheduled refresh rate?