both net6 and 7 are EOL and are not receiving security fixes anymore. These versions should not be used in the pipeline anymore. https://github.com/microsoftgraph/msgraph-sdk-powershell/blob/4ae82396aaac759b89c646e48a439920fb05d641/.azure-pipelines/common-templates/install-tools.yml#L14