I trying to create a function in AL that will create a SAS auth to be able to send a message to Azure.
Below is an example of a call that returns a complete SAS-token that I can use for a http-request.
This is the function that creates the token.
But when I try to use the SAS-key I get an error saying that the the token is incorrect, not invalid, just simply wrong.
On a visual inspection of the key it seems very similar to a real token created.
Obviously there is something wrong in my function but I cannot find out why.
Help!