Skip to content

Commit c6fd433

Browse files
remove StartDate default (#1948)
1 parent b2e1db6 commit c6fd433

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Identity.Governance/Identity.Governance/custom/New-MgEntitlementManagementAccessPackageAssignment.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,6 @@ begin {
155155
$notDelivered = 0
156156
$nonUsers = 0
157157

158-
if ($null -eq $StartDate -or $StartDate.Length -eq 0) {
159-
$now = Get-Date
160-
$ts = Get-Date $now.ToUniversalTime() -format "s"
161-
$StartDate = $ts + "Z"
162-
}
163158

164159
if ($null -eq $Justification) {
165160
$Justification = ""

0 commit comments

Comments
 (0)