Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Fixed using Connect-PnPOnline -AppId -AppSecret -AADDomain #2624

Merged
merged 12 commits into from
Jun 6, 2020
Merged

Fixed using Connect-PnPOnline -AppId -AppSecret -AADDomain #2624

merged 12 commits into from
Jun 6, 2020

Conversation

KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

Fixed using Connect-PnPOnline -AppId -AppSecret -AADDomain not actually authenticating. Now it does authenticate using the appid and appsecret to Microsoft Graph and you can use the Microsoft Graph commands and Get-PnPAccessToken again with it.

@KoenZomers KoenZomers added the status:checked and ready for merge ✔ PR has been checked and is ready for merge label Apr 14, 2020
@erwinvanhunen
Copy link
Member

This PR unfortunately does not compile. It's missing definitions for GraphAADLogin and AADDomain.

@erwinvanhunen erwinvanhunen added Needs: Attention 👋 and removed status:checked and ready for merge ✔ PR has been checked and is ready for merge labels May 25, 2020
@KoenZomers
Copy link
Collaborator Author

Having a look at it now @erwinvanhunen

@KoenZomers
Copy link
Collaborator Author

It had gotten a merge conflict as @wobba applied a fix directly to dev for the same issue after I filed this PR. Rebased this PR onto the current dev to include his change and applied the fix as I proposed it initially as it includes a bigger cleanup of the Graph authentication.

@KoenZomers KoenZomers added the status:checked and ready for merge ✔ PR has been checked and is ready for merge label May 25, 2020
@erwinvanhunen erwinvanhunen merged commit 03cc756 into pnp:dev Jun 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:checked and ready for merge ✔ PR has been checked and is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants