Azure App Registrations Sign-on URL

2019-06-10 06:30发布

I am registering an app with Azure, so that I can automate deployments with Ansible. Ansible is not a Web App (but a simple command line tool), but on an app registration it asks to fill in a mandatory field Sign-on URL. The description it gives is The URL where user can sign in and use your app. But once again, there is no URL and no Web App.

I could not find another way to register an app and it seems that this is the recommended way from the Ansible side. Ansible docs on Azure are linking to App registration in Azure.

So for now, I have entered a random URL there, but if it is not needed, then why Microsoft are enforcing it on us?

enter image description here

enter image description here

2条回答
够拽才男人
2楼-- · 2019-06-10 06:38

Sign-On URL: For "Web app / API" applications, provide the base URL of your app. For example, http://localhost:31544 might be the URL for a web app running on your local machine. Users would use this URL to sign in to a web client application.

That's because you register an web app/API. The type of application register will add to the access panel and the users could login the app through access panel via the Sign-on URL you config it when you register the app.

As Gaurav Mantri suggested, if you were not developing web app you should register an native app instead of web app.

More info about Azure app register, you can refer the document below:

Integrating applications with Azure Active Directory

Register your client application with Azure AD

查看更多
对你真心纯属浪费
3楼-- · 2019-06-10 06:52

The reason this is a required field during app registration is that during the vast majority of cases, the app in question is actually an app that people associate with a URL and can sign in to.

If you don't need the Sign-on URL, then you can put whatever value you'd like. I recommend a unique URL that is unlikely to collide with other people's apps or other apps in your organization.

You can also always do the app registration programmatically (since it look like scripting is your scenario anyway), using Azure AD PowerShell's New-AzureADApplication (followed by New-AzureADServicePrincipal).

查看更多
登录 后发表回答