diff --git a/lib/bb/fetch2/az.py b/lib/bb/fetch2/az.py
index 346124a8b..327273379 100644
--- a/lib/bb/fetch2/az.py
+++ b/lib/bb/fetch2/az.py
@@ -36,7 +36,7 @@ class Az(Wget):
 
         az_sas = d.getVar('AZ_SAS')
         if az_sas and az_sas not in ud.url:
-            ud.url += az_sas
+            ud.url += f'?{az_sas}'
 
         return Wget.checkstatus(self, fetch, ud, d, try_again)
 
@@ -62,7 +62,7 @@ class Az(Wget):
         az_sas = d.getVar('AZ_SAS')
 
         if az_sas:
-            azuri = '%s%s%s%s' % ('https://', ud.host, ud.path, az_sas)
+            azuri = '%s%s%s?%s' % ('https://', ud.host, ud.path, az_sas)
         else:
             azuri = '%s%s%s' % ('https://', ud.host, ud.path)
 
