I just created a webform that is hosted in my Azure subscription. I set it up with authenication via my works Azure directory for authenticating users. In debug this works f
You need to set another parameter in configuration that is replyUrl and assign to your web app, other wise it takes the url from which it was originated.