Skip to content

Commit 51e6e63

Browse files
authored
Merge pull request #127805 from baanders/8-31-fix
ADT- Mobile/desktop registration
2 parents d14f283 + 0888af6 commit 51e6e63

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

articles/digital-twins/how-to-set-up-instance-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Next, you'll upload this file to Cloud Shell. In your Cloud Shell window, click
119119
:::image type="content" source="media/how-to-set-up-instance/cloud-shell/cloud-shell-upload.png" alt-text="Cloud Shell window showing selection of the Upload option":::
120120
Navigate to the *manifest.json* you just created and hit "Open."
121121

122-
Next, run the following command to create an app registration (replacing placeholders as needed):
122+
Next, run the following command to create an app registration, with a *Public client/native (mobile & desktop)* reply URL of `http://localhost`. Replace placeholders as needed:
123123

124124
```azurecli
125125
az ad app create --display-name <name-for-your-app-registration> --native-app --required-resource-accesses manifest.json --reply-url http://localhost

articles/digital-twins/how-to-set-up-instance-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Start by navigating to [Azure Active Directory](https://portal.azure.com/#blade/
108108
In the *Register an application* page that follows, fill in the requested values:
109109
* **Name**: An Azure AD application display name to associate with the registration
110110
* **Supported account types**: Select *Accounts in this organizational directory only (Default Directory only - Single tenant)*
111-
* **Redirect URI**: An *Azure AD application reply URL* for the Azure AD application. You can use `http://localhost`.
111+
* **Redirect URI**: An *Azure AD application reply URL* for the Azure AD application. Add a *Public client/native (mobile & desktop)* URI for `http://localhost`.
112112

113113
When you are finished, hit the *Register* button.
114114

articles/digital-twins/how-to-set-up-instance-scripted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Here are the steps to run the deployment script in Cloud Shell.
5656
* For the instance: a *resource group* name. You can use an existing resource group, or enter a new name of one to create.
5757
* For the instance: a *name* for your Azure Digital Twins instance. The name of the new instance must be unique within the region for your subscription (meaning that if your subscription has another Azure Digital Twins instance in the region that's already using the name you choose, you'll be asked to pick a different name).
5858
* For the app registration: an *Azure AD application display name* to associate with the registration. This app registration is where you configure access permissions to the [Azure Digital Twins APIs](how-to-use-apis-sdks.md). Later, the client app will authenticate against the app registration, and as a result be granted the configured access permissions to the APIs.
59-
* For the app registration: an *Azure AD application reply URL* for the Azure AD application. You can use `http://localhost`.
59+
* For the app registration: an *Azure AD application reply URL* for the Azure AD application. Use `http://localhost`. The script will set up a *Public client/native (mobile & desktop)* URI for it.
6060
6161
The script will create an Azure Digital Twins instance, assign your Azure user the *Azure Digital Twins Owner (Preview)* role on the instance, and set up an Azure AD app registration for your client app to use.
6262
1.74 KB
Loading

0 commit comments

Comments
 (0)