Please use the PowerShell Gallery to install this module:
PowerShell Gallery – UcLobbyTeams
https://www.powershellgallery.com/packages/UcLobbyTeams/
Available cmdlets:
Get-UcM365Domains
Get-UcM365TenantId
Export-UcM365LicenseAssignment
Get-UcEntraObjectsOwnedByUser
Export-UcOneDriveWithMultiplePermissions
Get-UcTeamsWithSingleOwner
Get-UcTeamUsersEmail
Get-UcTeamsVersion
Get-UcTeamsVersionBatch
Get-UcTeamsDevice
Update-UcTeamsDevice
Test-UcTeamsOnlyDNSRequirements
Test-UcTeamsDevicesConditionalAccessPolicy
Test-UcTeamsDevicesEnrollmentPolicy
Test-UcTeamsDevicesCompliancePolicy
Get-UcArch
Test-UcPowerShellModule
More info:
https://uclobby.com/uclobby-teams-powershell-module/
Change Log:
0.7.0 - 2024/11/01
- Get-UcEntraObjectsOwnedByUser
New cmdlet: Returns all Entra objects associated with a user. - Get-UcTeamsVersion
Fix: Teams Classic was include in the output if settings file was present after Teams Classic uninstallation.
Fix: Running this in Windows 10 with PowerShell 7 an exception could be raised while importing the Appx PowerShell module. Thank you Steve Chupack for reporting this issue.
0.6.3 - 2024/10/25
- Get-UcTeamsVersion
Fix: No output generated for New Teams if the tma_settings.json file was missing.
0.6.2 - 2024/10/23
- Export-UcM365LicenseAssignment
Change: The SKU parameter can be use to search, if we use "copilot" then all licenses with copilot will be included in the export file.
Fix: In some scenarios the license exists in the tenant but no information available in "Products names and Services Identifiers" file, for these cases the output will be the SKU Part Number. - Update-UcTeamsDevice
Change: For ReportOnly we can use TeamworkDevice.Read.All, since we dont require write permissions (TeamworkDevice.ReadWrite.All).
Change: Now the user/application running the cmdlet can have User.ReadBasic.All or User.Read.All as graph permission.
Fix: The current user display name was empty in the output file.
0.6.1 - 2024/10/04
- Test-UcTeamsDevicesConditionalAccessPolicy
Change: Added verification for - Assignment > Conditions > Authentication flow - Get-UcM365LicenseAssignment
Change: PowerShell verb changed from Get to Export since it creates an output file and doesnt output a table. Please use Export-UcM365LicenseAssignment, the Get-UcM365LicenseAssignment will be deprecated in a future release. - Get-UcOneDriveWithMultiplePermissions
Change: PowerShell verb changed from Get to Export since it creates an output file and doesnt output a table. Please use Export-UcOneDriveWithMultiplePermissions, the Get-UcOneDriveWithMultiplePermissions will be deprecated in a future release. - Test-UcModuleUpdateAvailable
Change: Cmdlet name change to Test-UcPowerShellModule and now returns false if the module is not installed.
0.6.0 - 2024/09/20
- Get-UcM365LicenseAssignment
Feature: Added switch DuplicateServicePlansOnly, this will generate an output with users with duplicate service plans. - Test-UcTeamsDevicesEnrollmentPolicy
Feature: Added support for Android Open Source Project (AOSP) Enrollment Profiles. - Get-UcOneDriveWithMultiplePermissions
New cmdlet: Generate a report with OneDrive's that have more than a user with access permissions.
0.5.1 - 2024/05/08
- Test-UcTeamsDevicesCompliancePolicy
Fix: Only the applicable settings will be checked for Android AOSP compliance policies. - Get-UcTeamsDevice
Change: Added ConnectionStatus and ConnectionLastActivity in the detailed output.
Change: Display date and time in the current system time zone for WhenCreated, WhenChanged, LastHistoryModifiedDate, ConfigurationCreateDate and ConfigurationLastModifiedDate.
0.5.0 - 2024/03/19
- Test-UcTeamsOnlyDNSRequirements
New cmdlet: Check if the DNS entries that were previously required are still configured. - Get-UcM365Domains
Feature: Added support for GCC High tenants.
0.4.4 - 2024/03/14
- Get-UcTeamsVersion
Feature: Add support for New Teams on a Remote Computer.
Feature: Add support for New Teams from Path
Feature: Add column Type which will have New Teams or Classic Teams.
Change: Removed column Region.
Change: Use Get-AppPackage to determine MS Teams Installation Path and remove the requirement of administrative rights.
Fix: In some scenarios the install date was missing and generating an error. - The following cmdlets were removed after webdir.online.lync.com retirement:
Get-UcTeamsForest
Test-UcTeamsOnlyModeReadiness
0.4.3 - 2024/02/22
- Update-UcTeamsDevice
Feature: Added parameter SoftwareVersion to specify the version.
Change: If only one device is updated then the output will be on PowerShell window and not generate an output file.
0.4.2 - 2023/11/17
- Get-UcTeamsVersion
Feature: Add support for new Teams version. - Test-UcTeamsDevicesEnrollmentPolicy
Fix: Output was empty when only -Detailed Switch was used.
0.4.1 - 2023/10/20
- Get-UcM365LicenseAssignment
Feature: Added Parameter to filter for a specific SKU, only supports SKU Part Number and SKU Product Name (if UseFriendlyName is use).
Change: OutputPath will be for both report and "Product names and service plan identifiers for licensing.csv".
Change: Report will included a column with all service plans, when empty the license doesn't have the service, and "On/Off" will be the status of the assigned license service plan.
Change: Added execution time to the output.
Fix: Issue when generating a report on a tenant with a large number of users. - Get-UcTeamsDevice
Fix: Exception was thrown when MAC Address was blank
0.4.0 - 2023/10/13
- Get-UcM365Domains, Get-UcM365TenantId, Get-UcTeamsForest, Test-UcTeamsOnlyModeReadiness
Fix: Added switch UseBasicParsing to Invoke-WebRequest - Get-UcTeamsVersion
Fix: Exception handling for windows profiles that were created when the machine was joined to an another domain. - Get-UcM365LicenseAssignment
New cmdlet: Generate a report of the User assigned licenses either direct or assigned by group (Inherited) - Test-UcTeamsDevicesEnrollmentPolicy
New cmdlet: Validate Intune Enrolment Policies that are supported by Microsoft Teams Android Devices
0.3.5 - 2023/06/16
- Update-UcTeamsDevice
Fix: In some scenarios we could get a null pointer exception.
0.3.4 - 2023/05/18
- Update-UcTeamsDevice
Fix: ReportOnly was not showing when a device had an update pending.
Change: Added last update sent to the device in the output.
Change: Added User UPN and Display Name for the user signed in on the device.
0.3.3 - 2023/05/03
- Test-UcTeamsDevicesConditionalAccessPolicy
Fix: Detailed output was showing deviceFilter for GrantControl settings.
0.3.2 - 2023/05/01
- Get-UcTeamsDevice
Fix: Issue where only the first MS graph page from a request was returned. - Update-UcTeamsDevice
Fix: Issue where only the first MS graph page from a request was returned.
0.3.1 - 2023/04/25
- General
Change: Added a check, in all cmdlets, if there is a newer version of module available (Test-UcModuleUpdateAvailable). - Update-UcTeamsDevice
New cmdlet: Allow to send update commands to Teams Android Devices using MS Graph. - Test-UcModuleUpdateAvailable
New cmdlet: Check if a PowerShell module has a new update in PowerShell Gallery and if it's installed. - Test-UcTeamsDevicesConditionalAccessPolicy
Fix: In some cases the number of groups was too large, so now we only get the display name for the groups included/excluded.
Feature: Ability to export to CSV with a new parameter -ExportCSV - Test-UcTeamsDevicesCompliancePolicy
Fix: In some cases the number of groups was too large, so now we only get the display name for the groups included/excluded.
Feature: Ability to export to CSV with a new parameter -ExportCSV
0.2.7 - 2023/04/13
- General
Change: We need to connect to Microsoft Graph before using any cmdlet in the module. In the previous versions a connection was attempted, we remove this since in some scenarios we might want to use different authentication methods or environment. - Get-UcTeamsDevice
Fix: An exception could be raised if the User was null.
Fix: Cycle all pages in MS Graph Response
Feature: Ability to export to CSV with a new parameter -ExportCSV - Get-UcTeamsVersionBatch
New cmdlet: This allows to get the teams version from a list of computers from a CSV file.
0.2.6 - 2023/02/10
- Get-UcM365TenantId
Added support for Multi Geo Tenants. - Test-UcTeamsDevicesConditionalAccessPolicy
Fixed missing CloudApps setting value.
0.2.5 - 2023/02/03
- Get-UcTeamsVersion
Added Credential parameter that will be used to connect to the remote computer. - Get-UcTeamsDevice
Remove Device ID from parameters and output since that ID is the object in MS Graph and not the Device ID in Azure AD. - Test-UcTeamsDevicesCompliancePolicy
Change in the default behavior, now without any switch only policies that are assigned to a group will be checked.
Output now includes which groups are included/excluded.
Display warning with the number of compliance policy skipped (Not associated with a group).
Added All switch to allow check policies even the policies without group assignment.
Added User UPN parameter to check Compliance policies applied to the specified user.
Added Device ID parameter to check Compliance policies applied to specific device.
Detailed switch will only output the unsupported settings.
Added IncludedSupported switch to show all checked policy settings for each policy.
Added Setting Description in the Detailed output to make it easier identify it in Microsoft Endpoint Manager admin center.
Added check for unsupported settings for MTR Windows (Windows Compliance Policy). - Test-UcTeamsDevicesConditionalAccessPolicy
Change in the default behavior, now without any switch only policies that are assigned to a group will be checked.
Output now includes which groups are included/excluded.
Display warning with the number of compliance policy skipped (Not associated with a group or Teams Application).
Added All switch to allow check policies even the policies without group assignment.
Added User UPN parameter to only check Conditional Access policies applied to the specified user.
Detailed switch will only output the unsupported settings.
Added IncludedSupported switch to show all checked policy settings for each policy.
Added Setting Description in the Detailed output to make it easier identify it in Microsoft Endpoint Manager admin center. - Get-UcM365TenantId
The output will also include the OnMicrosoft.com Domain for that tenant.
0.2.0 - 2022/10/20
- Get-UcTeamsVersion
Added Computer parameter to get Teams version on a remote machine.
Added Path parameter to specify a path that contains Teams log files. - Get-UcTeamsDevice
New cmdlet that gets Microsoft Teams Devices information using MS Graph API. - Test-UcTeamsDevicesConditionalAccessPolicy
New cmdlet that that validates which Conditional Access policies are supported by Microsoft Teams Android Devices. - Test-UcTeamsDevicesCompliancePolicy
New cmdlet that validates which Intune Compliance policies are supported by Microsoft Teams Android Devices.
0.1.3 - 2022/06/10
- Get-UcTeamsVersion
Fixed the issue where the version was limited to 4 digits.
Added information for Ring, Environment, Region. - Get-UcTeamUsersEmail
This function returns a list of users email address that are part of a Team. - Get-UcTeamsWithSingleOwner
This function returns a list of Teams that only have a single owner.
0.1.2 - 2022/05/23
- Test-UcTeamsOnlyModeReadiness
Add an additional check to skip non SIP enabled domains;
Add progress status. - Get-UcTeamsForest
New cmdlet that returns the Teams Forest, this is helpful for Skype for Business OnPrem to Teams migrations.
0.1.0 - 2022/03/25
- Initial Release uploaded to PowerShell Gallery