Skip to content

Commit

Permalink
remove AzureAD dependency
Browse files Browse the repository at this point in the history
resolves #744
  • Loading branch information
FH-Inway committed Oct 3, 2024
1 parent c4e2684 commit 8eb384d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ jobs:
uses: PowershellFrameworkCollective/psframework@32c18f13173be8cc6b6803c63c40b9d7ab5aec12 # version 1.0.12
- name: Azure.Storage
uses: Azure/[email protected] # unclear which commit/tag corresponds to https://www.powershellgallery.com/packages/Azure.Storage/4.4.0
# AzureAd does not seem to have a public GitHub repository
# - name: AzureAd
# uses:
- name: PSNotification
uses: Splaxi/PSNotification@b344c3dfdb04db1a338f203d1a0c5ae72d67ae89 # version 0.5.3
- name: PSOAuthHelper
uses: Splaxi/PSOAuthHelper@837a2da63bf76e86f339a4e43e38df5a3b82affe # version 0.3.0
- name: ImportExcel
Expand Down
2 changes: 1 addition & 1 deletion build/vsts-prerequisites.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Write-Host "The user running is: $($env:UserName)"

# $modules = @("PSFramework", "Az.Storage", "AzureAd", "PSNotification", "PSOAuthHelper", "PowerShellGet", "PackageManagement","ImportExcel","PSScriptAnalyzer")
$modules = @("PSFramework", "PSScriptAnalyzer", "Az.Storage", "AzureAd", "PSNotification", "PSOAuthHelper", "ImportExcel")
$modules = @("PSFramework", "PSScriptAnalyzer", "Az.Storage", "PSOAuthHelper", "ImportExcel")

Install-Module "Pester" -MaximumVersion 4.99.99 -Force -Confirm:$false -Scope CurrentUser -AllowClobber -SkipPublisherCheck

Expand Down
2 changes: 1 addition & 1 deletion build/vsts-validate-psscriptanalyzer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Write-Host "Working on the machine named: $($env:computername)"
Write-Host "The user running is: $($env:UserName)"

$modules = @("PSFramework", "PSScriptAnalyzer", "Az.Storage", "AzureAd", "PSNotification", "PSOAuthHelper", "ImportExcel")
$modules = @("PSFramework", "PSScriptAnalyzer", "Az.Storage", "PSOAuthHelper", "ImportExcel")

foreach ($item in $modules) {
$module = Get-Module -Name $item -ErrorAction SilentlyContinue
Expand Down
2 changes: 1 addition & 1 deletion build/vsts-validate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Write-Host "Working on the machine named: $($env:computername)"
Write-Host "The user running is: $($env:UserName)"

$modules = @("PSFramework", "PSScriptAnalyzer", "Az.Storage", "AzureAd", "PSNotification", "PSOAuthHelper", "ImportExcel")
$modules = @("PSFramework", "PSScriptAnalyzer", "Az.Storage", "PSOAuthHelper", "ImportExcel")

foreach ($item in $modules) {
$module = Get-Module -Name $item -ErrorAction SilentlyContinue
Expand Down
1 change: 0 additions & 1 deletion d365fo.tools/d365fo.tools.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
RequiredModules = @(
@{ ModuleName = 'PSFramework'; ModuleVersion = '1.0.12' }
, @{ ModuleName = 'Az.Storage'; ModuleVersion = '1.11.0' }
, @{ ModuleName = 'AzureAd'; ModuleVersion = '2.0.1.16' }
, @{ ModuleName = 'PSOAuthHelper'; ModuleVersion = '0.3.0' }
, @{ ModuleName = 'ImportExcel'; ModuleVersion = '7.1.0' }
)
Expand Down

0 comments on commit 8eb384d

Please sign in to comment.