Skip to content

Commit eda4dd7

Browse files
Enganga/fix auth formatting (#1316)
* Changed naming from *Aliases to *Alias * Added extra space in the affected .ps1 files * fixed the Restore-EntraBetaDeletedDirectoryObject issue * Update Get-EntraDeletedServicePrincipal.ps1 * Update Get-EntraDeletedServicePrincipal.ps1 * Update Get-EntraDeletedServicePrincipal.ps1 * Update Get-EntraContext.ps1 * Update Enable-EntraAzureADAlias.ps1 * Update Restore-EntraBetaDeletedDirectoryObject.ps1 * Update Get-EntraCustomSecurityAttributeDefinition.ps1 * Update Enable-EntraAzureADAlias.ps1 * Update Reset-EntraStrongAuthenticationMethodByUpn.ps1
1 parent 145170e commit eda4dd7

52 files changed

Lines changed: 135 additions & 84 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

module/Entra/Microsoft.Entra/Applications/Get-EntraDeletedServicePrincipal.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,5 @@ function Get-EntraDeletedServicePrincipal {
115115
Write-Error "An error occurred while retrieving the deleted service principals: $_"
116116
}
117117
}
118-
}
118+
}
119+

module/Entra/Microsoft.Entra/Authentication/Add-EntraEnvironment.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Copyright (c) Microsoft Corporation. All Rights Reserved.
33
# Licensed under the MIT License. See License in the project root for license information.
44
# ------------------------------------------------------------------------------
5+
56
function Add-EntraEnvironment {
67
[CmdletBinding(DefaultParameterSetName = 'AddQuery')]
78
param (

module/Entra/Microsoft.Entra/Authentication/Disconnect-Entra.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
# Copyright (c) Microsoft Corporation. All Rights Reserved.
33
# Licensed under the MIT License. See License in the project root for license information.
44
# ------------------------------------------------------------------------------
5+
56
function Disconnect-Entra {
67
[CmdletBinding(DefaultParameterSetName = 'GetQuery')]
78
param ()
89
Disconnect-MgGraph
9-
}# ------------------------------------------------------------------------------
10+
}
11+
1012

module/Entra/Microsoft.Entra/Authentication/Find-EntraPermission.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,6 @@ function Find-EntraPermission {
100100

101101
Find-MgGraphPermission @params
102102
}
103-
}# ------------------------------------------------------------------------------
103+
}
104+
104105

module/Entra/Microsoft.Entra/Authentication/Get-EntraContext.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ function Get-EntraContext {
6666

6767
$response
6868
}
69-
}
69+
}
70+

module/Entra/Microsoft.Entra/Authentication/Get-EntraEnvironment.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,7 @@ function Get-EntraEnvironment{
6262

6363
Get-MgEnvironment @params
6464
}
65-
}# ------------------------------------------------------------------------------
65+
}
66+
67+
6668

module/Entra/Microsoft.Entra/Authentication/New-EntraCustomHeaders.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ function New-EntraCustomHeaders {
2727
$customHeaders["User-Agent"] = $userAgentHeaderValue
2828

2929
$customHeaders
30-
}# ------------------------------------------------------------------------------
31-
30+
}

module/Entra/Microsoft.Entra/Authentication/Reset-EntraStrongAuthenticationMethodByUpn.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ function Reset-EntraStrongAuthenticationMethodByUpn {
5454
$methods = Get-MgUserAuthenticationMethod -UserId $userId
5555
}
5656
}
57-
}# ------------------------------------------------------------------------------
57+
}
5858

module/Entra/Microsoft.Entra/Authentication/Revoke-EntraSignedInUserAllRefreshToken.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ function Revoke-EntraSignedInUserAllRefreshToken {
2323
}
2424
}
2525

26+

module/Entra/Microsoft.Entra/Authentication/Revoke-EntraUserAllRefreshToken.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ function Revoke-EntraUserAllRefreshToken {
8282
}
8383
}
8484

85+

0 commit comments

Comments
 (0)