"Enterprise iOS Distribution Certificates generated after September 2, 2020 require the new intermediate certificate installed on any machines that will be code signing. Xcode 11.4.1 or later automatically downloads the new Apple Worldwide Developer Relations Intermediate Certificate, and it is also available directly from the
Certificate Authority page. Confirm that the correct intermediate certificate is installed by verifying the expiration date is set to 2030."
The current MacOS-Latest(10.15) has xcode 11.7 listed as the default, so the intermediate cert must not be automatically downloaded automatically for xcode build/signing commands.
https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md
It would be great if MS could add the intermediate as a default in the keychain!