diff --git a/src/internal/m365/graph/http_wrapper.go b/src/internal/m365/graph/http_wrapper.go index fdffb583f..addc8b7a2 100644 --- a/src/internal/m365/graph/http_wrapper.go +++ b/src/internal/m365/graph/http_wrapper.go @@ -82,7 +82,7 @@ func (hw httpWrapper) Request( body io.Reader, headers map[string]string, ) (*http.Response, error) { - req, err := http.NewRequest(method, url, body) + req, err := http.NewRequestWithContext(ctx, method, url, body) if err != nil { return nil, clues.Wrap(err, "new http request") }