I am trying to publish an version update to an app. In VS after archiving I tried to Distribute to AppStore. After entering Apple ID and App specific password I am getting the following error:

I don't find any key with value "Development" in the Entitlements.plist. I also tried removing it from the Custom Entitlements in the Bundle Signing properties. That didn't work.
I am using the same Certificate and Profile that was used to publish the previous version except that I added iCloud capability to App ID after creating a new iCloud Container. There was no option anywhere while creating the container. The certificate used is set for Distribution and not for Development.
iCloud access worked without any issue in Debug mode on simulators as well as on device.