You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory/develop/quickstart-mobile-app-ios-sign-in.md
+7-21Lines changed: 7 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,30 +32,16 @@ The quickstart applies to both iOS and macOS apps. Some steps are needed only fo
32
32
33
33

34
34
35
-
## Register and download your quickstart app
36
-
You have two options to start your quickstart application:
37
-
*[Express][Option 1: Register and auto configure your app and then download your code sample](#option-1-register-and-auto-configure-your-app-and-then-download-the-code-sample)
38
-
*[Manual][Option 2: Register and manually configure your application and code sample](#option-2-register-and-manually-configure-your-application-and-code-sample)
39
-
40
-
### Option 1: Register and auto configure your app and then download the code sample
41
-
#### Step 1: Register your application
42
-
To register your app,
43
-
1. Go to the [Azure portal - App registrations](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/applicationsListBlade/quickStartType/IosQuickstartPage/sourceType/docs) quickstart experience.
44
-
1. Enter a name for your application and select **Register**.
45
-
1. Follow the instructions to download and automatically configure your new application with just one click.
46
-
47
-
### Option 2: Register and manually configure your application and code sample
To register your application and add the app's registration information to your solution manually, follow these steps:
54
40
55
-
1. Sign in to the [Azure portal](https://portal.azure.com).
56
-
1. If you have access to multiple tenants, use the **Directories + subscriptions** filter :::image type="icon" source="media/common/portal-directory-subscription-filter.png" border="false"::: in the top menu to switch to the tenant in which you want to register the application.
57
-
1.Search for and select**Azure Active Directory**.
1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com) as at least an [Application Developer](../roles/permissions-reference.md#application-developer).
42
+
1. If access to multiple tenants is available, use the **Directories + subscriptions** filter :::image type="icon" source="media/common/portal-directory-subscription-filter.png" border="false"::: in the top menu to switch to the tenant in which you want to register the application.
43
+
1.Browse to **Identity** >**Applications** > **Application registrations**.
44
+
1.Select**New registration**.
59
45
1. Enter a **Name** for your application. Users of your app might see this name, and you can change it later.
60
46
1. Select **Register**.
61
47
1. Under **Manage**, select **Authentication** > **Add Platform** > **iOS**.
@@ -76,7 +62,7 @@ To register your application and add the app's registration information to your
76
62
#### Step 4: Configure your project
77
63
If you selected Option 1 above, you can skip these steps.
78
64
1. Open the project in XCode.
79
-
1. Edit **ViewController.swift** and replace the line starting with 'let kClientID' with the following code snippet. Remember to update the value for `kClientID` with the clientID that you saved when you registered your app in the portal earlier in this quickstart:
65
+
1. Edit **ViewController.swift** and replace the line starting with 'let kClientID' with the following code snippet. Remember to update the value for `kClientID` with the clientID that you saved when you registered your app earlier in this quickstart:
80
66
81
67
```swift
82
68
let kClientID ="Enter_the_Application_Id_Here"
@@ -96,7 +82,7 @@ If you selected Option 1 above, you can skip these steps.
96
82
let kAuthority ="https://login.microsoftonline.de/common"
97
83
```
98
84
99
-
3. Open the project settings. In the **Identity** section, enter the **Bundle Identifier** that you entered into the portal.
85
+
3. Open the project settings. In the **Identity** section, enter the **Bundle Identifier**.
100
86
4. Right-click **Info.plist** and select **Open As** > **Source Code**.
101
87
5. Under the dict root node, replace `Enter_the_bundle_Id_Here` with the ***Bundle Id*** that you used in the portal. Notice the `msauth.` prefix in the string.
0 commit comments