skip to Main Content

Azure Pipeline Yaml; file error when initiating a Powershell script

When I am invoking a yaml file in my Azure Pipeline, sample is - task: AzurePowerShell@5 displayName: 'Execute PowerShell Script on Target VMs' inputs: azureSubscription: ${{ variables.SERVICE_CONNECTION_NAME }} pwsh: true ScriptType: 'FilePath' ScriptPath: 'pipeline-scripts/Deploy-ALZDomainControllers.ps1' env: LOCATION: $(LOCATION) TOP_LEVEL_MG_PREFIX: $(TOP_LEVEL_MG_PREFIX) UPSTREAM_RELEASE_VERSION:…

VIEW QUESTION

Azure Function to Generate file from JSON contentByte – Microsoft Graph API Email generation

Im having problem writting an azure function which takes blob input (JSON) and create a file using the contentbyte column from the JSON file. JSON Template: { "@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users('XXX.com')/messages('AQMkADAA3D%3D')/attachments", "value":[ { "@odata.type":"#microsoft.graph.fileAttachment", "@odata.mediaContentType":"application/pdf", "id":"AQMkADA0NjA5YT", "lastModifiedDateTime":"2023-06-29T14:40:33Z", "name":"MISC.pdf", "contentType":"application/pdf", "size":314000, "isInline":false, "contentId":"5E2D20ED5265174C8C9DC1AD59FFA4outlook.com", "contentLocation":null,…

VIEW QUESTION
Back To Top
Search