If you ever need to store a url with some querystring parameters as an appsetting key you may find yourself struggling with this issue. The application will fail and will not run.

All you have to do is change your “&” for this “&”

This will make it work flawlessly.