You must download script ot connetct all services in Office 365 from hxxps://www.catapultsystems.com/wp-content/uploads/connect_v5.8.2.zip remember run shell like Admin!!! =============== Scripts below =================================== Get-AzureADUser | Select-Object -Property DisplayName, UserPrincipalName | Export-Csv -path c:\test5.csv -NoTypeInformation Get-AzureADGroupMember -ObjectId " ..wpisz właściwą gupę .." | Select-Object -Property DisplayName, UserPrincipalName | Export-Csv -path c:\CC_with_emails.csv -NoTypeInformation Get-AzureADGroupMember -ObjectId "..wpisz właściwą gupę .." | Select-Object -Property DisplayName, UserPrincipalName | Out-File c:\CC_with_emails.txt =================================================================== Groups Azure get datas: pobieranie grup: Get-MsolGroup --> show all groups Get-MsolGroup -GroupType "Security" --> show some type groups Get-MsolGroup -GroupType "Security" | ft DisplayName, Description -auto >> e:\jakas nazwa.txt pobieranie userów z poszczególnych grup: Get-MsolGroupMember -GroupObjectId "0b1e5ded-ad30-4987-b676-14ead37b0f61" | ft DisplayName >> e:jakas nazwa.txt =============================================================================================================== sprawdzanie licencji i userów: Get-MsolAccountSku w dopasowaniu wpisujemy nazwe licencji: Get-MsolUser | Where-Object {($_.licenses).AccountSkuId -match "O365_BUSINESS_PREMIUM"} przekierowujemy to na wynik.txt Get-MsolUser | Where-Object {($_.licenses).AccountSkuId -match "O365_BUSINESS_PREMIUM"} | Out-File -FilePath e:\licencje_office365_premium.txt https://www.reddit.com/r/Office365/comments/deza5z/this_one_word_can_connect_to_all_office_365/ this is website with a lots ps scripts for Office 365: https://gallery.technet.microsoft.com/office/site/search?f%5B0%5D.Type=RootCategory&f%5B0%5D.Value=Office365 all information about Office 365 Reports is on this website: ================================================================================================================= Best sites with all scripts to Office 365 --> https://gallery.technet.microsoft.com/office365/site/search?f%5B0%5D.Type=RootCategory&f%5B0%5D.Value=Office365&f%5B0%5D.Text=Office%20365