diff --git a/.github/workflows/send-message-to-teams.yml b/.github/workflows/send-message-to-teams.yml index 9356d124..c3e9df01 100644 --- a/.github/workflows/send-message-to-teams.yml +++ b/.github/workflows/send-message-to-teams.yml @@ -13,8 +13,8 @@ jobs: steps: - name: Post Adaptive Card to Microsoft Teams run: | - $sas="https://poweraccelerators.blob.core.windows.net/accelerators/simplefile.txt?se=2025-02-06T21%3A55%3A41Z&sp=r&sv=2022-11-02&sr=b&big=Yty8wka7nF5rqUnGjqFsPaaPRzryZ7DTmGtutqS2hY0%3D" - $sasTrimmed = $sas.Substring(8) + $sas="https://poweraccelerators.blob.core.windows.net/accelerators/simplefile.txt?se=2025-02-06T21%3A55%3A41Z&sp=r&sv=2022-11-02&sr=b&sig=Yty8wka7nF5rqUnGjqFsPaaPRzryZ7DTmGtutqS2hY0%3D" + $sasMod = $sas -replace 'sig=', 'big=' $body = @{ type = "message" @@ -38,7 +38,7 @@ jobs: @{ type = "Action.OpenUrl" title = "Download Azure Blob File" - url = "$sas" + url = "$sasMod" } ) }