-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login using SharePoint App-Only instead of AAD App-only? #134
Comments
In our Scenario, we are using SharePoint add-in for connecting to a Site Collection for publish/creating Pages. with the package can we use the Same for publishing pages using M365 CLI? |
Hi @estruyf. First of all thank you for this top notch library. Looks like it got lots of potential. On the question of @vamsi981 |
@gkohen contributions are more than welcome! Haven't been using doctor for a long time, so contributions are helpful to get it better by people who actually use it. |
No worries @estruyf. On the specific issue of the technical question raise by @vamsi981, do you see any issue with the current implementation being able to create pages if we contribute a client/secret auth support? |
It uses the CLI for Microsoft 365, which is actively maintained. This library is a wrapper around that dependency, with the ability to understand how to translate the markdown content to SharePoint Pages. We need to check if the CLI can be used with client/secret auth. If it does, it would be an easy way to be implemented it. Happy to also bring some new life in the library, as it has a huge potential for teams. |
In my environment a login using user/pass leads to an
Any reasons for the really outdated version of the bundled |
Ok: With my limited understanding I hacked an updated version to use client secret authentification, but eventually I received this feedback from
Not sure if I'm on the same page as the others on this thread, but it seems I'm not able to go that path. |
Digging deeper into the PNP CLI it seems like there is an actual blocker on the Microsoft service API: |
Hi @estruyf ,
Is it Possible to use SharePoint APP-only Add-In Client id and Secret Instead of M365(Azure based) Client id and Secret, where the scope is only limited to particular Site Collection Instead of entire SharePoint tenant level.
The text was updated successfully, but these errors were encountered: