Skip to content

App Registration Section Needs Updating #5737

@danmyhre

Description

@danmyhre

https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/bulk-user-profile-update-api-for-sharepoint-online#can-i-execute-the-code-using-app-onlyadd-in-only-permissions

The link that points to this:
https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs

contradicts what is listed below with registering in AAD and performing the grants. It also does not align between using appID/secret and the note below that says you have to use a cert.

Following the instructions in the first link does not work. PnP PowerShell cmdlets do not work when you connect with:
Connect-PnPOnline -AppId 'guid' -AppSecret 'secret' -AADDomain 'defaultdomain.onmicrosoft.com'

You will get this error:
Get-PnPUPABulkImportStatus
Get-PnPUPABulkImportStatus : No connection, please connect first with Connect-PnPOnline
At line:1 char:1

  • Get-PnPUPABulkImportStatus
  •   + CategoryInfo          : NotSpecified: (:) [Get-PnPUPABulkImportStatus], InvalidOperationException
      + FullyQualifiedErrorId : System.InvalidOperationException,SharePointPnP.PowerShell.Commands.UserProfiles.GetUPABu
     lkImportStatus
    
    

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authCategory: Authentication (Azure AD / etc)area:docsCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devhelp wantedLooking for someone to help with this issue (documentation fix, etc).type:archive-old-issueIssues which are closed as tool old for active work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions