Skip to content

Commit f348558

Browse files
committed
Fix monthly broken links - ryanwi
1 parent 0b147c3 commit f348558

3 files changed

+5
-14
lines changed

Diff for: articles/app-service/tutorial-connect-app-access-microsoft-graph-as-app-javascript.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ Your web app now has the required permissions and also adds Microsoft Graph's cl
2626

2727
The `DefaultAzureCredential` class from [@azure/identity](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) package is used to get a token credential for your code to authorize requests to Azure Storage. Create an instance of the `DefaultAzureCredential` class, which uses the managed identity to fetch tokens and attach them to the service client. The following code example gets the authenticated token credential and uses it to create a service client object, which gets the users in the group.
2828

29-
To see this code as part of a sample application, see the:
30-
* [sample on GitHub](https://github.com/Azure-Samples/ms-identity-easyauth-nodejs-storage-graphapi/tree/main/3-WebApp-graphapi-managed-identity).
31-
3229
> [!NOTE]
3330
> The [@azure/identity](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) package isn't required in your web app for basic authentication/authorization or to authenticate requests with Microsoft Graph. It's possible to [securely call downstream APIs](tutorial-auth-aad.md#call-api-securely-from-server-code) with only the App Service authentication/authorization module enabled.
3431
>
@@ -63,7 +60,7 @@ const appSettings = {
6360

6461
### Call Microsoft Graph on behalf of the app
6562

66-
The following code shows how to call [Microsoft Graph controller](https://github.com/Azure-Samples/ms-identity-easyauth-nodejs-storage-graphapi/blob/main/2-WebApp-graphapi-on-behalf/controllers/graphController.js) as the app and get some user information.
63+
The following code shows how to call Microsoft Graph controller as the app and get some user information.
6764

6865
```javascript
6966
// graphController.js
@@ -94,7 +91,7 @@ exports.getUsersPage = async(req, res, next) => {
9491
}
9592
```
9693

97-
The previous code relies on the following [getAuthenticatedClient](https://github.com/Azure-Samples/ms-identity-easyauth-nodejs-storage-graphapi/blob/main/3-WebApp-graphapi-managed-identity/utils/graphHelper.js) function to return Microsoft Graph client.
94+
The previous code relies on the following getAuthenticatedClient function to return Microsoft Graph client.
9895

9996
```javascript
10097
// utils/graphHelper.js

Diff for: articles/app-service/tutorial-connect-app-access-microsoft-graph-as-user-javascript.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ ms.subservice: web-apps
2424

2525
Your web app now has the required permissions and also adds Microsoft Graph's client ID to the login parameters.
2626

27-
To see this code as part of a sample application, see the:
28-
* [Sample on GitHub](https://github.com/Azure-Samples/ms-identity-easyauth-nodejs-storage-graphapi/tree/main/2-WebApp-graphapi-on-behalf).
29-
3027
### Install client library packages
3128

3229
Install the [@azure/identity](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) and the [@microsoft/microsoft-graph-client](https://www.npmjs.com/package/@microsoft/microsoft-graph-client?activeTab=readme) packages in your project with npm.
@@ -37,7 +34,7 @@ npm install @microsoft/microsoft-graph-client
3734

3835
### Configure authentication information
3936

40-
Create an object to hold the [authentication settings](https://github.com/Azure-Samples/ms-identity-easyauth-nodejs-storage-graphapi/blob/main/2-WebApp-graphapi-on-behalf/app.js):
37+
Create an object to hold the authentication settings:
4138

4239
```javascript
4340
// partial code in app.js
@@ -63,7 +60,7 @@ const appSettings = {
6360

6461
### Call Microsoft Graph on behalf of the user
6562

66-
The following code shows how to call [Microsoft Graph controller](https://github.com/Azure-Samples/ms-identity-easyauth-nodejs-storage-graphapi/blob/main/2-WebApp-graphapi-on-behalf/controllers/graphController.js) as the app and get some user information.
63+
The following code shows how to call Microsoft Graph controller as the app and get some user information.
6764

6865
```javascript
6966
// controllers/graphController.js
@@ -92,7 +89,7 @@ exports.getProfilePage = async(req, res, next) => {
9289
}
9390
```
9491

95-
The previous code relies on the following [getAuthenticatedClient](https://github.com/Azure-Samples/ms-identity-easyauth-nodejs-storage-graphapi/blob/main/2-WebApp-graphapi-on-behalf/utils/graphHelper.js) function to return Microsoft Graph client.
92+
The previous code relies on the following getAuthenticatedClient function to return Microsoft Graph client.
9693

9794
```javascript
9895
// utils/graphHelper.js

Diff for: articles/app-service/tutorial-connect-app-access-storage-javascript.md

-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ ms.subservice: web-apps
2323
## Access Blob Storage
2424
The `DefaultAzureCredential` class from [@azure/identity](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) package is used to get a token credential for your code to authorize requests to Azure Storage. The `BlobServiceClient` class from [@azure/storage-blob](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob) package is used to upload a new blob to storage. Create an instance of the `DefaultAzureCredential` class, which uses the managed identity to fetch tokens and attach them to the blob service client. The following code example gets the authenticated token credential and uses it to create a service client object, which uploads a new blob.
2525

26-
To see this code as part of a sample application, see *StorageHelper.js* in the:
27-
* [Sample on GitHub](https://github.com/Azure-Samples/ms-identity-easyauth-nodejs-storage-graphapi/tree/main/1-WebApp-storage-managed-identity).
28-
2926
## JavaScript example
3027

3128
```nodejs

0 commit comments

Comments
 (0)