diff --git a/cloud/azure/custom/api.pm b/cloud/azure/custom/api.pm index 2b16b6581..dc967c237 100644 --- a/cloud/azure/custom/api.pm +++ b/cloud/azure/custom/api.pm @@ -632,7 +632,7 @@ sub azure_get_log_analytics_set_url { my $encoded_timespan = $uri->encode($options{timespan}); my $url = $self->{management_endpoint} . '/v1/workspaces/' . $options{workspace_id} . '/query?query=' . $encoded_query; $url .= '×pan=' . $encoded_timespan if (defined($encoded_timespan)); - $url .= '?api-version=' . $self->{api_version}; + $url .= '&api-version=' . $self->{api_version}; return $url; }