multicloud365
  • Home
  • Cloud Architecture
    • OCI
    • GCP
    • Azure
    • AWS
    • IAC
    • Cloud Networking
    • Cloud Trends and Innovations
    • Cloud Security
    • Cloud Platforms
  • Data Management
  • DevOps and Automation
    • Tutorials and How-Tos
  • Case Studies and Industry Insights
    • AI and Machine Learning in the Cloud
No Result
View All Result
  • Home
  • Cloud Architecture
    • OCI
    • GCP
    • Azure
    • AWS
    • IAC
    • Cloud Networking
    • Cloud Trends and Innovations
    • Cloud Security
    • Cloud Platforms
  • Data Management
  • DevOps and Automation
    • Tutorials and How-Tos
  • Case Studies and Industry Insights
    • AI and Machine Learning in the Cloud
No Result
View All Result
multicloud365
No Result
View All Result

Python – Studying SharePoint Record Delegated Utility Permissions

admin by admin
May 14, 2025
in Azure
0
Python – Studying SharePoint Record Delegated Utility Permissions
399
SHARES
2.3k
VIEWS
Share on FacebookShare on Twitter


SharePoint is a strong platform for collaboration and doc administration, extensively utilized in organizations to streamline workflows and enhance productiveness.

To work together with SharePoint assets programmatically, builders usually use entry tokens.

On this weblog, we are going to discover the way to learn SharePoint lists utilizing delegated entry tokens, which permits purposes to entry assets on behalf of a person, making certain safe and managed entry.

You will discover lot of code on web primarily associated to Powershell utilizing PNP, Graph or CSOM however for python you discover largely with workplace 365 relaxation shopper.

I’m sharing the instance utilizing customary requests library that we use for accessing any relaxation API software and that too with delegated permissions.

Assumption is APP is already registered in Azure AD and has following delegated permissions.


Modules required:

  • os
  • Requests – For Relaxation API calls
  • Json – for changing the request output to json format
  • DPAPI – For Password encryption/Decryption

Script to obtain:

https://github.com/VikasSukhija/Python

Now replace the script variables asper your surroundings


Additionally, replace the ReqTokenbody à Username parameter


Now when you’ll run the script it is going to immediate you for 3 issues for first time solely:

  1. ClientID of the Registered Utility
  2. Password for the UserName (Delegated account)
  3. Secret of the Registered Utility

It should retailer all these in encrypted type in config folder after first run:



After that python will get the entry token and begin studying the SharePoint on-line checklist and acquire all gadgets in Coll_listItems checklist.

You’ll be able to improve this code additional and do no matter operations you need to carry out on the checklist gadgets.

I simply need to present how we are able to cope with SharePoint checklist utilizing delegated tokens.

 

 

Thanks for studying and downloading…

Tech Wizard

 

https://techwizard.cloud

https://syscloudpro.com/

PowerShell Quick Observe

Tags: ApplicationDelegatedlistPermissionsPythonreadingSharePoint
Previous Post

New instrument evaluates progress in reinforcement studying | MIT Information

Next Post

Solely Hyperion – Oracle Hyperion EPM weblog: Automating Emails in Oracle Cloud EPM with Groovy E-mail Template!

Next Post
Solely Hyperion – Oracle Hyperion EPM weblog: Automating Emails in Oracle Cloud EPM with Groovy E-mail Template!

Solely Hyperion - Oracle Hyperion EPM weblog: Automating Emails in Oracle Cloud EPM with Groovy E-mail Template!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Trending

AWS Vs. Azure: The Final Information You may EVER Want

AWS Vs. Azure: The Final Information You may EVER Want

May 17, 2025
Mastering Helm: Utilizing -set for Fast and Highly effective Chart Customization

Mastering Helm: Utilizing -set for Fast and Highly effective Chart Customization

March 25, 2025
Introducing Distill CLI: An environment friendly, Rust-powered instrument for media summarization

Introducing Distill CLI: An environment friendly, Rust-powered instrument for media summarization

March 26, 2025
Inside-Out Methods For A New Period

Inside-Out Methods For A New Period

May 29, 2025
Might LLMs assist design our subsequent medicines and supplies? | MIT Information

Might LLMs assist design our subsequent medicines and supplies? | MIT Information

April 9, 2025
From Edge To AI Automation

From Edge To AI Automation

April 25, 2025

MultiCloud365

Welcome to MultiCloud365 — your go-to resource for all things cloud! Our mission is to empower IT professionals, developers, and businesses with the knowledge and tools to navigate the ever-evolving landscape of cloud technology.

Category

  • AI and Machine Learning in the Cloud
  • AWS
  • Azure
  • Case Studies and Industry Insights
  • Cloud Architecture
  • Cloud Networking
  • Cloud Platforms
  • Cloud Security
  • Cloud Trends and Innovations
  • Data Management
  • DevOps and Automation
  • GCP
  • IAC
  • OCI

Recent News

PowerAutomate to GITLab Pipelines | Tech Wizard

PowerAutomate to GITLab Pipelines | Tech Wizard

June 13, 2025
Runtime is the actual protection, not simply posture

Runtime is the actual protection, not simply posture

June 13, 2025
  • About Us
  • Privacy Policy
  • Disclaimer
  • Contact

© 2025- https://multicloud365.com/ - All Rights Reserved

No Result
View All Result
  • Home
  • Cloud Architecture
    • OCI
    • GCP
    • Azure
    • AWS
    • IAC
    • Cloud Networking
    • Cloud Trends and Innovations
    • Cloud Security
    • Cloud Platforms
  • Data Management
  • DevOps and Automation
    • Tutorials and How-Tos
  • Case Studies and Industry Insights
    • AI and Machine Learning in the Cloud

© 2025- https://multicloud365.com/ - All Rights Reserved