diff --git a/source/Classes/010.AzDevOpsProject.ps1 b/source/Classes/010.AzDevOpsProject.ps1 index 4dea38bbc..e33d64501 100644 --- a/source/Classes/010.AzDevOpsProject.ps1 +++ b/source/Classes/010.AzDevOpsProject.ps1 @@ -37,7 +37,7 @@ class AzDevOpsProject : AzDevOpsDscResourceBase [System.String]$ProjectDescription [DscProperty()] - [ValidateSet('Git', 'Tfvc')] + ## [ValidateSet('Git', 'Tfvc')] [System.String]$SourceControlType diff --git a/source/Modules/AzureDevOpsDsc.Common/Resources/Functions/Private/Test-AzDevOpsPat.ps1 b/source/Modules/AzureDevOpsDsc.Common/Resources/Functions/Private/Test-AzDevOpsPat.ps1 index f58cab88d..839140d89 100644 --- a/source/Modules/AzureDevOpsDsc.Common/Resources/Functions/Private/Test-AzDevOpsPat.ps1 +++ b/source/Modules/AzureDevOpsDsc.Common/Resources/Functions/Private/Test-AzDevOpsPat.ps1 @@ -36,6 +36,5 @@ function Test-AzDevOpsPat $IsValid ) - return !([System.String]::IsNullOrWhiteSpace($Pat) -or - $Pat.Length -ne 52) # Note: 52 is the current/expected length of PAT + return !([System.String]::IsNullOrWhiteSpace($Pat)) }