Jump to content
hugomito

How to Connect to SharePoint.com SharePoint Sites - (Moved)

Recommended Posts

Hi all,

I hope someone can help me with this topic:  I need to work with SharePoint.com SharePoint Lists in order to Create, Update, Delete records using Azure Active Directory APIs.

So far what I have found is that I need to:

          1. Request an Authorization code: https://login.microsoftonline.com/{tenant-id}/oauth2/authorize?client_id=1234-5678&response_type=code

          2. Request an Access token using Authorization code:

                    POST /{tenant-id}/oauth2/token HTTP/1.1
                    Host:
https://login.microsoftonline.com
                    Content-Type: application/x-www-form-urlencoded
                    grant_type=authorization_code
                    &client_id=1234-5678
                    &code={code-from-step-1}

          3. Finally, Access the resource using the Acess token:

                    GET /data HTTP/1.1
                    Host: service.domain.com
                    Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciO...

If you need additional information, let me know. Hopefully I will be able to provide.

 

Thanks a lot for your help/contribution.

Regards,

Share this post


Link to post
Share on other sites

Moved to the appropriate forum, as the AutoIt Example Scripts forum very clearly states:

Quote

Share your cool AutoIt scripts, UDFs and applications with others.


Do not post general support questions here, instead use the AutoIt Help and Support forums.

Moderation Team


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

I was restricted in the TOPICS display when I clicked START A NEW TOPIC. This area seemed the most likely to garner a response. I was not deliberately being a jerk!

 Really want to know why my script is not running synchronously. I just signed up to follow you since you are so active. Thank you!

Share this post


Link to post
Share on other sites
7 minutes ago, hugomito said:

If you need additional information, let me know. Hopefully I will be able to provide.

mmm...  what exactly is it you are asking us? You want us to do the coding for you or have you started and facing issues with something?

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
1 minute ago, Elizabeth said:

I was restricted in the TOPICS display when I clicked START A NEW TOPIC. This area seemed the most likely to garner a response. I was not deliberately being a jerk!

 Really want to know why my script is not running synchronously. I just signed up to follow you since you are so active. Thank you!

... and this is a reply to what exactly?


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hi Jos,

Thanks for moving it to the correct Forum.

What I am looking for is:

  • UDF that works with Azure Active Directory. If someone has built it, maybe they can share it, or
  • AutoIT sample scripts that someone has built working with Azure Active Directory.

Meanwhile, I'll continue looking for sample scripts.

Share this post


Link to post
Share on other sites

This UDF is only for AD and AAD. But have a look. Maybe you can see something in this UDF and create a new one like @water did.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...