Since it is EC and Key length is 256 bit the SignatureAlgorithmToJwsAlgId returns the SignatureAlgorithm.ES256 algorithm to be used in KeyVault while the correct would be to return SignatureAlgorithm.ES256K.
Not sure how to do that identification in a neat way to be honest. Maybe you guys know how to do it?