Unable to run dnf update, after adding packages-microsoft-com-prod

You have two files for that repo, remove either of them (as they are the same file), then run yum update to fix the issue.