79108462

Date: 2024-10-21 03:19:55
Score: 1
Natty:
Report link

In pca client

this.pca = new PublicClientApplication({
      auth: {
        clientId: process.env.CLIENT_ID,
        authority: `https://login.microsoftonline.com/${process.env.TENANT_ID}`,
        clientSecret: "xxx"
      },
    });

You need to add a client secret generated from the app registration in the AD.

  1. Navigate to the app registration in the Azure portal.

enter image description here

enter image description here

enter image description here

Copy the value, not the secret ID, and replace it in the configuration.

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dileepa Mabulage