SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.01k forks source link

Update replace-an-expiring-client-secret-in-a-sharepoint-add-in.md #9911

Closed akkomats closed 2 months ago

akkomats commented 2 months ago

Since Azure AD PowerShell was deprecated on March 30, 2024 (https://techcommunity.microsoft.com/t5/microsoft-entra-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270), we need to change the sample scripts to Microsoft Graph PowerShell SDK. The commit 020d3e0 (https://github.com/SharePoint/sp-dev-docs/commit/020d3e0e51537028fdd916299b08f369e694256d) changed the scripts from Microsoft Graph PowerShell SDK to Auzre AD PowerShell on Sep 13, 2023. I've reverted this again.

Category

Related issues

N/A

What's in this Pull Request?

Change the sample scripts from Azure AD PowerShell to Microsoft Graph PowerShell SDK in "Generate a new secret" section.

Submission guidelines

  • !!IMPORTANT!! - All submissions must complete the baseline sections included in this template. Ignoring or deleting this template may result in closing the issue with the label type:incomplete-submission.
  • Follow our guidance on How To Create Good Pull Requests.
  • Target the main branch of this repo.
  • When changing a page, ensure you update the ms.date front matter wih the current date in the format MM/DD/YYYY.
  • Review all build checks and address the automated errors, warnings, and suggestions.
  • NOTE: The live site is based on the live branch. Site owners periodically refresh live branch from the main branch so merged PRs won't immediately appear on the live site. Please be patient to see your changes appear on the live site.

DELETE THIS SECTION BEFORE SUBMITTING

learn-build-service-prod[bot] commented 2 months ago

Learn Build status updates of commit 9e99b7c:

:white_check_mark: Validation status: passed

File Status Preview URL Details
docs/sp-add-ins/replace-an-expiring-client-secret-in-a-sharepoint-add-in.md :white_check_mark:Succeeded View

For more details, please refer to the build report.

For any questions, please:

learn-build-service-prod[bot] commented 2 months ago

Learn Build status updates of commit ecff12c:

:white_check_mark: Validation status: passed

File Status Preview URL Details
docs/sp-add-ins/replace-an-expiring-client-secret-in-a-sharepoint-add-in.md :white_check_mark:Succeeded View

For more details, please refer to the build report.

For any questions, please: