Skip to content

Commit

Permalink
Issue 3259 (#3261)
Browse files Browse the repository at this point in the history
Fixes #3259

Co-authored-by: freddydk <[email protected]>
  • Loading branch information
freddydk and freddydk authored Dec 2, 2023
1 parent 97af5cf commit ebb9f36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Artifacts/Get-BCArtifactUrl.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,13 @@ try {
{
$Response = Invoke-RestMethod -UseBasicParsing -ContentType "application/json; charset=UTF8" -Uri "$GetListUrl$nextMarker"
if (([int]$Response[0]) -eq 239 -and ([int]$Response[1]) -eq 187 -and ([int]$Response[2]) -eq 191) {
# Remove BOM
# Remove UTF8 BOM
$response = $response.Substring(3)
}
if (([int]$Response[0]) -eq 65279) {
# Remove Unicode BOM (PowerShell 7.4)
$response = $response.Substring(1)
}
$enumerationResults = ([xml]$Response).EnumerationResults

if ($enumerationResults.Blobs) {
Expand Down
1 change: 1 addition & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
When using Publish-PerTenantExtensionApps with a set of apps, which takes a very long time to publish, the AccessToken might expire and lead to failure. AccessToken is now refreshed when needed.
Issue #3254 vsix no longer includes dotnet framework 4.8 compatible dlls for version 24
Avoid using CDN when downloading from bcinsider as this frequently changes and subsequently fails
Issue #3259 get-bcartifactUrl PS7.4 Error querying artifacts

6.0.1
New-AadAppsForBC doesn't work with the newer versions of Microsoft.Graph module (where the type of the accesstoken parameter has changed)
Expand Down

0 comments on commit ebb9f36

Please sign in to comment.