diff --git a/msgraph/accesspackageresourcerolescope.go b/msgraph/accesspackageresourcerolescope.go index ca4435fd..068c0197 100644 --- a/msgraph/accesspackageresourcerolescope.go +++ b/msgraph/accesspackageresourcerolescope.go @@ -148,7 +148,7 @@ func (c *AccessPackageResourceRoleScopeClient) Get(ctx context.Context, accessPa } if accessPackageResourceRoleScope.ID == nil { - return nil, status, fmt.Errorf("AccessPackageResourceRoleScopeClient.BaseClient.Get(): Could not find accessPackageResourceRoleScope ID") + return nil, http.StatusNotFound, fmt.Errorf("AccessPackageResourceRoleScopeClient.BaseClient.Get(): Could not find accessPackageResourceRoleScope ID %s", id) } return &accessPackageResourceRoleScope, status, nil