Azure Storage File SAS token generated via PowerShell is not working

Hi,
I have uploaded a file in Azure Storage container and have a requirement to generate the SAS token through PowerShell (New-AzStorageFileSASToken) as this script will be utilised in Azure Pipelines. However, the SAS token generated through PowerShell does not work but if I generate through Portal it works fine. SAS token is generated on file.
Below are the 2 tokens generated
Portal Token (works fine)
sp=rwd&st=2020-06-19T07:01:34Z&se=2020-06-19T15:01:34Z&spr=https&sv=2019-10-10&sr=b&sig=OwKU7GqWA8H%2B60nhRe9hlIoCxhcisR7q6xmnR7ZkfKM%3D

PowerShell Token (does not work)
?sv=2019-02-02&sr=f&sig=m6dcgWNQ0jzI6feb%2FSQrh1%2B2cYyj0YukF76wleVjX18%3D&spr=https&st=2020-06-19T12%3A48%3A06Z&se=2020-06-19T13%3A48%3A06Z&s
p=rwd

Below is the script used to generate
$StartTime = Get-Date
$EndTime = $StartTime.AddHours(1.0)
$stTime = Get-Date $StartTime -Format “yyyy-MM-ddTHH:mm:ssZ”
$edTime = Get-Date $EndTime -Format “yyyy-MM-ddTHH:mm:ssZ”
$fileSASToken = New-AzStorageFileSASToken -ShareName $containerName -Context $ctx -Path $fileContent.ICloudBlob.Uri.AbsolutePath -Permission “rwd” -StartTime $stTime -ExpiryTime $edTime -Protocol HttpsOnly

Any help would be highly appreciated

Thanks
Vijay