Microsoft.PowerPlatform.DevOps.psd1

#
# Module manifest for module 'PSGet_Microsoft.PowerPlatform.DevOps'
#
# Generated by: Dylan Haskins and Eugene Van Staden
#
# Generated on: 17/08/2020
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'Microsoft.PowerPlatform.DevOps.psm1'

# Version number of this module.
ModuleVersion = '2.0.168'
# Supported PSEditions
# CompatiblePSEditions = @()

# ID used to uniquely identify this module
GUID = '33eec53d-3a6e-4ef4-ba0f-28791dba9044'

# Author of this module
Author = 'Dylan Haskins and Eugene Van Staden'

# Company or vendor of this module
CompanyName = 'Independent'

# Copyright statement for this module
Copyright = '(c) 2021 Dylan Haskins & Eugene Van Staden. All rights reserved.'

# Description of the functionality provided by this module
Description = 'A Toolset for Implementing and Adopting a full ALM strategy for the Microsoft PowerPlatform.'

# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '5.0'

# Name of the Windows PowerShell host required by this module
# PowerShellHostName = 'ConsoleHost'

# Minimum version of the Windows PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
DotNetFrameworkVersion = '4.7.1'

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# CLRVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
ProcessorArchitecture = 'None'

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @('Invoke-PowerPlatformDevOps', 'Start-DeploySolution', 'Test-IsGuid','Start-SolutionChecker', 'Start-PPDODocker','Invoke-ExportSolution')
#, 'Add-CICDEnvironment', 'Add-Solution', 'Connect-AzureDevOps', 'Install-PreReqs'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @('ppdo', 'ppdo-docker')

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
FileList = @("./README.md")

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        # Tags applied to this module. These help with module discovery in online galleries.
        Tags = @("Dynamics", "CRM", "Dynamics365", "DevOps", "CDS", "PowerPlatform","Dataverse","PowerappsPortal","PowerApps")

        # A URL to the license for this module.
        LicenseUri = 'https://github.com/dylanhaskins/Microsoft.PowerPlatform.DevOps.Documentation'

        # A URL to the main website for this project.
        ProjectUri = 'https://github.com/dylanhaskins/Microsoft.PowerPlatform.DevOps.Documentation'

        # A URL to an icon representing this module.
        # IconUri = ''

        # ReleaseNotes of this module
        ReleaseNotes = '
        v2.0.160-alpha
        - Switch Solution Import to PAC CLI
        v2.0.156
        - Bump version of Microsoft.Xrm.Data.PowerShell to 2.8.19
        v2.0.155
        - Remove Git Get Access Token process in favour for Git Credential Manager
        v2.0.153
        - Add git config --global core.longpaths true
         
        v2.0.152
        - Clean Legacy dataverse_ folder before copying pac_ contents
         
        v2.0.150
        - Push Tag to Azure DevOps Repo
         
        v2.0.149
        - Add automatic tagging of Solution commits
 
        v2.0.148
        - Default Solution Version Dates to UTC for consistency across devices and Azure Agents
         
        v2.0.146
        - Add Export-Solution Command line option
          
        v2.0.142
        - Update Solution Export to use PAC and to Only update Solution Version if there is a change.
         
        v2.0.140
        - Update JSON file creation to no longer include BOM
         
        v2.0.137
        - Change deployment sequence of Portal CLI step
 
        v2.0.136
        - Add AZ CLI Authentication using Service Principal to SolutionDeploy.ps1
         
        v2.0.135
        - Extend PAC CLI connection
 
        v2.0.132
        - Bump Microsoft.Xrm.Data.PowerShell to 2.8.19
        - Increase polling time for Solution Import and Upgrade to 10 seconds
 
        v2.0.131
        - Make Add-PowerAppsAccount available to be used in Pre/Post Actions
 
        v2.0.130
        - fix pac portal path. Note:
        Download portal via CLI to the deployments folder in the solution project
 
        v2.0.128
        - Force Microsoft.Xrm.Data.PowerShell version 2.8.14 and 2.8.17 has a bug with Get-CrmRecords command
         
        v2.0.127
        - Add support for PAC Portal CLI to deploy Portal configuration. Add the following
            "Portal": "portal-folder-name" //Download portal configuration in the Deployment/ directory of your project and update this value wit the unique name of your portal
 
        - Add support to enable solutions per stage via a new Deploy flag. This makes managing DeployPackages easier.
           Add "Deploy":"true" in the DeployTo block of your target environment. Disable deployment by setting "false"
           "DeployTo": [ { "Deploy": "true",
 
        v2.0.125
        - Fix SecureString issue with Add-PowerAppsUserAccount
 
        v2.0.124
        - Sort Connections so that we always get the earliest created Connection by Type
 
        v2.0.123
        - Minor Typo fixes
 
        v2.0.122
        - Only get Connected Connections for use in binding Connection References (ignore Error statuses)
 
        v2.0.121
        - Change Connection Reference binding to always bind to a found connection to mitigate issues when connections have been deleted
 
        v2.0.120
        - Removing tooling ability to merge from Basebranch on load (too many merge errors)
 
        v2.0.119
        - Added Support for new Preview Linter for PowerApps (https://powerapps.microsoft.com/en-us/blog/announcing-public-preview-of-eslint-rules-for-power-apps-and-dynamics-365/)
 
        v2.0.118
        - Various minor bug fixes
        - Enable Solution deploy to continue when connection times out (is forcibly closed)
         
        v2.0.114
        - Improve Error Handling in Flow Activation
 
        v2.0.113
        - Fix for Data Import error
         
        v2.0.112
        - Fix Error Handler for when solution does not have an upgrade that is ready to be applied
         
        v2.0.110
        - Remove -EnableBatchMode on Import-CrmDataFile as this appears to not import M2M related data
        - Add -ConcurrentThreads 5 to Import-CrmDataFile to support multi-threaded imports
 
        v2.0.109
        - Default overWriteUnmanagedCustomisations to false on Solution Import and add support for setting it to true via deployPackages.json
         
        v2.0.108
        - Force UTF8 encoding for deployPackages.json
         
        v2.0.105
        - Fix Open is VSCode to run a seperate process
        - Add Support to use User Account when Service Principal is defined but does not have management API access
 
        v2.0.104
        - Updates for WebResource Deployment
        - Update WebPack and WebPack CLI versions
        - Remove CleanWebPackPlugin in favour of built in clean in Webpack 5
        - Enable Terser optimisers
        - Add Binding support for XrmQuery to automatically compile and inject appropriate libraries when used
        - Add Linting
        - Add Tree Shaking for Production compiles
        - Add WebPack watch capability
 
        v2.0.103
        - Improve performance of Auto Update check, and fix bug where it was always updating.
         
        v2.0.102
        - Add initial support for GitHub
         
        v2.0.100
        - Fix ascii art logos
         
        v2.0.99
        - Add Include in Project capability for TypeScript typings files
 
        v2.0.98
        - Bug fix to remove duplicate "press any key to continue" on Generate Types
         
        v2.0.97
        - Added Support for updating the various Tooling that is cached (Config Migration, XrmContext, XrmDefinitelyTyped etc.)
        - Bug Fixes
         
        v2.0.90
        - Prevent patch deployment if the target environment has a higher base solution version
 
        v2.0.88
        - Support for checking for existence of Original solution before deploying a patch
        - Support for Multiple patch solutions
         
        v2.0.87
        - Fix for skipping existing Patch Solution when deploying
         
        v2.0.86
        - Fix support for Patch Solutions in Export and Deploy
 
        v2.0.85
        - Add prompt for merge from upstream branch (instead of doing it automatically)
 
        v2.0.84
        - Add support to check for and handle existing _Upgrade solution in Target environment
         
        v2.0.83
        - Various Bug Fixes
 
        v2.0.81
        - Add support to Retry activation of Flows that fail due to Child Flows not yet being activated
         
        v2.0.80
        - Add support to FailonError when trying to activate Flows
 
        v2.0.78
        - Fixed Connection reference variables in SolutionDeploy
 
        v2.0.75
        - Change --allowDelete flag in PAC from No to $false to support latest update of PAC CLI
 
        v2.0.74
        - Add Support for ExportPreAction.ps1 and ExportPostAction.ps1 to support injecting custom logic before and after Data Export process
         
        v2.0.73
        - Add Support for Deploy-Plugins and Deploy-WebResources from the Solution Management Menu
        - Fix for Environment Approval Check for Manual Deployment
        - Fix to PowerApps auth
        - Add BaseBranch flag to Project JSON to support automatic merge from base when opening project
 
        v2.0.69
        - Add Authentication Token refresh for all Git Branch management menu option
 
        v2.0.68
        - Enhancements to Pipeline Messaging and Logging
        - Change the way azure tokens are retrieved
        - Add ability to Override the Check for Service Principal Permissions as Power Platform Management App
        - Fixes for SolutionDeploy Error Logging
 
        v2.0.56
        - Enhance Flow Deployment to create seperate JSON file on Solution Unpack
        - Add support for updating the .artifactignore file to support future improvements
        - Minor improvement to deployment log messages
        - Fix PostAction step
        - Various Bug Fixes
 
        v2.0.46
        - Add ability to selectively enable Power Automate Flows using the following in deployPackages.json
            "Flows":
            {
              "ActivateFlows": "true",
              "OverrideFile" : ""
            }
        - Automatically attempt to wire up Connection references in the Solution by searching for matching Connections
        - Fix issue in Manual setup of Service Principal
        - Added Pre and Post Upgrade steps when deploying as Holding solution
        - Update XrmContext and XrmDefintelyTyped to support OAuth username and password
        - Add Tenant ID to Login List
 
        v2.0.41
        - Fixes for Pre and PostAction scripts
        - Check if Environments Require approval in Azure DevOps and prevent local deployment
         
        v2.0.40
        - Add Support for Environment Level Pre and Post Action Scripts
        - Fix for Azure Devops CLI Token
        - Updates to Docker Support
        - Fix for Git Clone of Existing Repo
        - Bump PowerShell toolings versions
        - Branch tracking updates
         
        v2.0.32
        - Add Git Branch controls to Menu
 
        v2.0.31
        - Get Azure Subscription on Project load (to support multiple projects)
        - Fix Device Login for Power Platform
         
        v2.0.29
        - Fix for AZ Login on clearing
        - Add Exclusion for Publisher.zip file on Cleanup tasks
         
        v2.0.28
        - Add Auto Import of Existing publisher from
        - Add ability to clear Azure CLI Account cache (in Advanced Config Menu)
        - Add support for pulling latest from source control on Project load and commit
        - Add Advanced option to remove git Auth Header
        - Add support for Release Notes
        - Add Auto Update Feature
        '


        # External dependent modules of this module
        # ExternalModuleDependencies = ''

        Prerelease = 'alpha'

    } # End of PSData hashtable

} # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}