Skip to content

Commit 1d73d54

Browse files
updated readme with authentication for new App Registration
1 parent ce31524 commit 1d73d54

File tree

2 files changed

+46
-12
lines changed

2 files changed

+46
-12
lines changed

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,18 @@ If you're not using one of the above options for opening the project, then you'l
134134

135135
</details>
136136

137+
<details>
138+
<summary><b>Deploy with Bicep/ARM template</b></summary>
139+
140+
### Quick Deploy (Bicep)
141+
142+
1. **Deploy Azure resources**
143+
Click the following deployment button to create the required resources for this accelerator directly in your Azure Subscription.
144+
145+
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2FConversation-Knowledge-Mining-Solution-Accelerator%2FKM-AIFoundry%2Finfra%2Fmain.json)
146+
147+
</details>
148+
<br/>
137149
## Deploying
138150

139151
Once you've opened the project in [Codespaces](#github-codespaces), in [Dev Containers](#vs-code-dev-containers), or [locally](#local-environment), you can deploy it to Azure.
@@ -163,17 +175,6 @@ Once you've opened the project in [Codespaces](#github-codespaces), in [Dev Cont
163175
164176
3. You can now proceed to run the [development server](#development-server) to test the app locally, or if you are done trying out the app, you can delete the resources by running `azd down`.
165177
166-
<details>
167-
<summary><b>Deploy with Bicep/ARM template</b></summary>
168-
169-
### Quick Deploy (Bicep)
170-
171-
1. **Deploy Azure resources**
172-
Click the following deployment button to create the required resources for this accelerator directly in your Azure Subscription.
173-
174-
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2FConversation-Knowledge-Mining-Solution-Accelerator%2FKM-AIFoundry%2Finfra%2Fmain.json)
175-
176-
</details>
177178
<br/>
178179
<h2>
179180
Additional Steps

docs/AppAuthentication.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,37 @@
1717

1818
5. Accept the default values and click on `Add` button to go back to the previous page with the identify provider added.
1919

20-
![Add Provider](Images/AppAuthIdentityProviderAdded.png)
20+
![Add Provider](Images/AppAuthIdentityProviderAdded.png)
21+
22+
### Creating a new App Registration
23+
1. Click on `Home` and select `Microsoft Entra ID`.
24+
25+
![Microsoft Entra ID](/ResearchAssistant/Deployment/images/aiStudio/MicrosoftEntraID.png)
26+
27+
2. Click on `App registrations`.
28+
29+
![App registrations](/ResearchAssistant/Deployment/images/aiStudio/Appregistrations.png)
30+
31+
3. Click on `+ New registration`.
32+
33+
![New Registrations](/ResearchAssistant/Deployment/images/aiStudio/NewRegistration.png)
34+
35+
4. Provide the `Name`, select supported account types as `Accounts in this organizational directory only(Contoso only - Single tenant)`, select platform as `Web`, enter/select the `URL` and register.
36+
37+
![Add Details](/ResearchAssistant/Deployment/images/aiStudio/AddDetails.png)
38+
39+
5. After application is created sucessfully, then click on `Add a Redirect URL`.
40+
41+
![Redirect URL](/ResearchAssistant/Deployment/images/aiStudio/AddRedirectURL.png)
42+
43+
6. Click on `+ Add a platform`.
44+
45+
![+ Add platform](/ResearchAssistant/Deployment/images/aiStudio/AddPlatform.png)
46+
47+
7. Click on `Web`.
48+
49+
![Web](/ResearchAssistant/Deployment/images/aiStudio/Web.png)
50+
51+
8. Enter the `web app URL` (Provide the app service name in place of XXXX) and Save. Then go back to [Step 4](https://github.com/microsoft/Build-your-own-AI-Assistant-Solution-Accelerator/blob/PSL-Authenticate-Doc/ResearchAssistant/Deployment/AIStudioDeployment.md#step-4-add-authentication-in-azure-app-service-configuration) and follow from _Point 4_ choose `Pick an existing app registration in this directory` from the Add an Identity Provider page and provide the newly registered App Name.
52+
53+
![Add Details](/ResearchAssistant/Deployment/images/aiStudio/WebAppURL.png)

0 commit comments

Comments
 (0)