Brief Summary
This is a quick update to remove Connect-PnP
directly in the modules so that you can choose the way you want to connect now since their update. I’ll be adding ways to connect in the future, but want to look at the best way to give everyone options.
- Adding documentation for Connecting to PnP module now.
- Removed
Connect-PNP
- Removed
Connect-PNP
till I/we can setup multiple ways to offer to connect to PNP with the new mandated way.New-CT365SharePointSite
New-CT365Teams
Export-CT365ProdTeamstoExcel
Remove-CT365AllDeletedM365Groups
Remove-CT365AllSitesFromRecycleBin
Remove-CT365SharePointSite
Remove-CT365Teams
- Removed
- Change
RequiredVersion PnP.PowerShell 2.2
toModuleVersion 2.2.0
- In the future, I will update to require a higher version, but do not want to break change. I have confirmed it works on 2.2.0 and 2.12.
Brief Summary
Removed required Microsoft.Identity.Client as causing issues on Mac
Brief Summary
Fixed the code that outputs into the console confirming which manager was added
Brief Summary
Added new manager and added a swtich named UseDeveloperPackE5 to add the developer licenses to all added users.
Updated Features
New-CTUser
- Added Manager
- Add only Dev licenses option
- Updated help
- Allow optional parameters to be empty
Added "Discussions" for feature requests and general discussions
Brief Summary
Added new parameters to cmdlets and cleaned up some formatting.
Updated Features
New-CT365User
- CompanyName
- EmployeeHireDate
- EmplyeeId
- EmployeeType
- Employee, Contractor, Consultant, or Vendor.
- FaxNumber
New-CT365DataEnvironment
- CompanyName
- EmployeeHireDate
- EmplyeeId
- EmployeeType
- FaxNumber
Export-CT365ProdUserToExcel
- CompanyName
- EmployeeHireDate
- EmplyeeId
- EmployeeType
- FaxNumber
365DataEnvironment.xlsx
- CompanyName
- EmployeeHireDate
- EmplyeeId
- EmployeeType
- FaxNumber
Updated Feature
New-CT365Group
- Can now add a owner to each group, if you don't it will default to User Principal Name parameter
Fixed
There was an issue using PnP.PowerShell 2.3 and anything newer than 4.50.0 for the Microsoft Identity Client module. Also Microsoft Identity Client was 4.50.0.0 and was changed back to 4.50.0. I made PnP.PowerShell 2.2 and Microsoft Identity Client 4.50.0 as the required versions for now until more testing. It does seem like a known issue with PnP.PowerShell 2.3. Please let me know if you run into any issues.
Fixed
New-CT365DataEnvironment
- Didn't always handle creating new files correctly, and changed it so it doesn’t ask you if you want to create file, as it wasn’t consistent. Looking into adding the feature back later once it is more stable.
Updated Features
New-CT365DataEnvironment
- Will now only allow .xlsx files, and will confirm that the path of where you want to save it is correct.
New-CT365User
- Will now only allow .xlsx files first, then check if the path is correct
New-CT365Group
- Will now only allow .xlsx files first, then check if the path is correct
New-CT365GroupByUserRole
- Will now only allow .xlsx files first, then check if the path is correct
New-CT365SharePointSite
- Will now only allow .xlsx files first, then check if the path is correct
New-CT365Teams
- Will now only allow .xlsx files first, then check if the path is correct
Remove-CT365Group
- Will now only allow .xlsx files first, then check if the path is correct
Remove-CT365GroupByUserRole
- Will now only allow .xlsx files first, then check if the path is correct
Remove-CT365SharePointSite
- Will now only allow .xlsx files first, then check if the path is correct
Remove-CT365Teams
- Will now only allow .xlsx files first, then check if the path is correct
Remove-CT365User
- Will now only allow .xlsx files first, then check if the path is correct
Export-CT365ProdUserToExcel
- Will now only allow .xlsx files first, then check if the path is correct
Export-CT365ProdTeamsToExcel
- Will now only allow .xlsx files first, then check if path is correct
New Features
Remove-CT365AllSitesFromRecycleBin
- Deletes all SharePoint sites from the recycle Bin
New Features
Export-CT365ProdUserToExcel
- Default now includes Developer License
- Use -NoLicense to remove
Export-CT365ProdTeamsToExcel
- Exports Channel Type now
- Exports Channel Descriptions now
Fixes
Updated function name for New-CT365DataEnvironment within ps1 file
Updated headers in New-CT365DataEnvironment to include Sites and Channels description.
Updated formatting of README
New Features
New-CT365Teams - added functionality to create channels and their descriptions. Currently you’ll set one owner for all Teams. Please create an issue if you would like to see the option for owners per Teams and Channels.
Verify-CT365TeamsCreation - internal cmdlet to verify Teams creation
Breaking Changes
None
Fixed: Changed function name inside code from Export-CT365GroupToExcel to Export-CT365ProdGroupToExcel.
New Features
Export-CT365Teams - This will export the teams from your production tenant to an Excel worksheet named Teams.
Breaking Changes
For the 3 functions below, there will no longer be the parameter for WorkbookName, it will only be filepath going forward. This is to keep it consistent with the other functions. If you would rather have the WorkbookName, please let me know and if there is enough interest, I'll change that to the standard.
- Export-CT365ProdGroupToExcel
- Export-CT365ProdUserToExcel
- New-CT365DataEnvironment
Export-CT365ProdUserToExcel function added to enable you to export your production groups to a template that is easily imported into your dev tenant.
Fixed Issues:
Remove-CT365SharePointSite now behaves correctly. If you only want to delete the sites, run Remove-CT365SharePointSite, and if you want to permanently delete them, you have to run previous command, wait till SharePoint processes(10-20 minutes), then run Remove-CT365SharePointSite -PermanentlyDelete.
Added Remove-CT365AllDeletedM365Groups. This will permanently delete all deleted Modern Microsoft 365 Groups.
Added Set-CT365SPDistinctNumber. Currently I have it so Sharepoint Sites have a number after them for testing so I know which ones I'm working on and not having to create "real" names for each. This allows you to easily rename the site names in one quick line. I do this as SharePoint Team sites never can fully delete fast as I want while testing.
Minor formatting
Confirmed working upload to PowerShell Gallery GitHub Action
Added better tags and added tag to show it works on MacOS in PowerShell Gallery
Confirmed working on Mac OS
Added microsoft.identity.client v4.50.0.0 into required modules
Added microsoft.identity.client module to import for New-CT365Teams
Added microsoft.identity.client module to import for Remove-CT365Teams
Fixed spelling error for UserPrincipalName on New-CT365Teams
Export-CT365ProdUserToExcel now matches exactly for importing into Dev(only need to add licensing)
Fixed issue with New-CT365SharePointSite not creating each of the different sites correctly every time
Updated/Created Pester Tests
Updated URI for Icon and Documentation