-
Notifications
You must be signed in to change notification settings - Fork 1k
Needs to be updated to using PowerShell module Microsoft Graph #8000
Copy link
Copy link
Closed
Labels
area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devtype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active work
Metadata
Metadata
Assignees
Labels
area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devtype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active work
Type
Fields
Give feedbackNo fields configured for issues without a type.
The code in this example is going out of date with Windows Azure Graph being depreciated. According to other documents, the powershell module that should be used is "Microsoft Graph"
Information about the switch of function names can be found in this very helpful Microsoft Document.
https://docs.microsoft.com/en-us/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-beta
I have tried by myself to do this just with Microsoft Graph, however, I'm unable to work out how to renew my SharePoint Add In when they expire using the new commands.
Add-MgServicePrincipalKeyAdd-MgServicePrincipalPasswordThe examples for the above commands do not seem clear enough, that allows me to work out how to correctly to renew the expired SharePoint add-in.
Links in the document for the Prerequisites
When you look up information on MSOnline Module, the note at the top of the page says:
When you follow the link through to Active Directory V2 Powershell this also take you to AzureAD.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.