I must read and delete some xml files from a topic/subcription.
I only received a endpoint string linke that ;
It seem it's an ACS connection string, not SAS. I can't use the AD autorisation, nor the SAS itself. So I wonder how to obtain a token.
Any helps ?
Thanks, I'll have to investigate a bit to see how this is done... :)
After searching... this is the best hope I could find:
If this is the answer, then it's just a matter of duplicating this HTTP POST with the correct information. I'll create an example that is my best guess, but unfortunately I don't have the means to test it for now..
Hi Thank, will read it now.
If you can careate a example for VBScript, it would be very nice :)
Thank in all case,
Here's the untested example:
It work fine :)
For information, to use the token with a rest object, juste do the following ;
... success = sbToken.Prepend("WRAP access_token=" & """" ) success = sbToken.Append("""" ) success = rest.AddHeader("Authorization",sbToken:GetAsString()) ...
Thanks for sharing the solution, I really appreciate it!