If the user wants to deploy MSIX files, then it can be achieved with the help of the following steps.
Add-AppxPackage -Path <MSIX_file_name_with_extension>
Example: Add-AppxPackage -Path MSTeams-x86.msix
powershell.exe -ExecutionPolicy RemoteSigned -File <powershell_script_name_with_extension>
Example: powershell.exe -ExecutionPolicy RemoteSigned -File testFile.ps1
Note: The MSIX package is a user-based package so when deploying via configuration, navigate to Configurations tab, choose Configurations → Windows → Custom Scripts. When publishing to Self Service Portal, publish to the user group.
Thank you for your feedback!
Sorry about that!