Skip to content

Commit fb10040

Browse files
committed
add instructions for setting execution policy
1 parent c4bed14 commit fb10040

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

2-WebApp-graph-user/2-6-BFF-Proxy/AppCreationScripts/AppCreationScripts.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
### Quick summary
66

7+
1. Set the execution policy if this is the first time you are running external scripts:
8+
9+
```PowerShell
10+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force
11+
```
12+
713
1. Run the script to create your Azure AD application and configure the code of the sample application accordingly.
814

915
```PowerShell

2-WebApp-graph-user/2-6-BFF-Proxy/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ There is one project in this sample. To register it, you can:
112112
> :warning: If you have never used **Microsoft Graph PowerShell** before, we recommend you go through the [App Creation Scripts Guide](./AppCreationScripts/AppCreationScripts.md) once to ensure that your environment is prepared correctly for this step.
113113

114114
1. Ensure that you have PowerShell 7 or later.
115+
1. Set the execution policy if this is the first time you are running external scripts:
116+
117+
```PowerShell
118+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force
119+
```
115120
1. Run the script to create your Azure AD application and configure the code of the sample application accordingly.
116121
1. For interactive process -in PowerShell, run:
117122

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,19 @@ In this tutorial, you will learn, incrementally, how to add sign-in users to you
4848
1. If your application wants to connect with your customers, or with small business partners, you can have your application [sign-in users with their social identities](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/1-WebApp-OIDC/1-5-B2C/README.md) using Microsoft Azure AD B2C.
4949
1. Finally, you'll want to let users [sign-out](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/1-WebApp-OIDC/1-6-SignOut/README.md) from your application, or globally from their browser session.
5050

51-
2. If your Web app only needs to sign-in users, in that case you have all you need from the options provided above, but if your app needs to call APIs that you've developed yourselves or popular Microsoft APIs like Microsoft Graph, then the following chapters will help extend your work so far to also call these Web APIs.
51+
2. If your Web app only needs to sign-in users, in that case you have all you need from the options provided above, but if your app needs to call APIs that you've developed yourselves or popular Microsoft APIs like Microsoft Graph, then the following chapters will help extend your work so far to also call these Web APIs.
5252

5353
![Web apps calls Microsoft Graph](ReadmeFiles/Web-app-calls-Microsoft-Graph.svg)
5454

5555
Learn how to update your Web app to [call Microsoft Graph](https://graph.microsoft.com):
5656

57-
1. We'd use the the [Microsoft.Identity.Web](https://aka.ms/microsoft-identity-web) library again to extend the web app to [sign-in users and also call Microsoft Graph](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/2-WebApp-graph-user/2-1-Call-MSGraph/README.md)
57+
1. We'd use the the [Microsoft.Identity.Web](https://aka.ms/microsoft-identity-web) library again to extend the web app to [sign-in users and also call Microsoft Graph](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/2-WebApp-graph-user/2-1-Call-MSGraph/README.md)
5858
1. In this chapter we'd explain the token cache and how [customize the token cache serialization](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/2-WebApp-graph-user/2-2-TokenCache/README-incremental-instructions.md)
5959
with different technologies depending on your needs (in-memory cache, Session token cache, SQL Server Cache, Redis Cache)
6060
1. Learn how to [secure a multi-tenant SaaS application](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/2-WebApp-graph-user/2-3-Multi-Tenant/README.md)
6161
1. Learn how to call Microsoft Graph in [national and sovereign clouds](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/2-WebApp-graph-user/2-4-Sovereign-Call-MSGraph/README.md).
62+
1. Learn how to [authenticate users on both the frontend and backend side simultaneously](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/2-WebApp-graph-user/2-5-HybridFlow/README.md) using the **Hybrid SPA code flow** and call Microsoft Graph.
63+
1. Learn how to [authenticate users on the backend side and share the authentication state with the frontend side](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/2-WebApp-graph-user/2-6-BFF-Proxy/README.md) using the **Backend for Frontend proxy** architecture and call Microsoft Graph.
6264

6365
3. Your Web App might also want to call other Web APIs than Microsoft Graph.
6466

0 commit comments

Comments
 (0)