Questions tagged [access-token]
The access-token tag has no usage guidance.
6
questions
1
vote
1
answer
87
views
Creating a secure .Net WebAPI for Sharepoint without AAD
I need to call my custom .Net 6 core web api from on-premise sharepoint 2019 webpart. The users are already being authenticated using on-premise Active Directory. I want to pass the authentication ...
1
vote
1
answer
2k
views
SharePoint API: Invalid Access Token Resource
I am trying to obtain an access token for use with the SharePoint Rest API. For my organizations base site. I am able to obtain a token and use that token to make subsequent requests successfully.
...
0
votes
1
answer
168
views
SharePoint Users access token through SPO application client id and secret
Is there any way to get particular user's SPO access token through client id and secret of the custom application registered inside SPO site collection ? I do not want to show the consent screen to ...
0
votes
1
answer
544
views
Assign Member to Group via Powershell Graph API Call throws Request_BadRequest
Calling the following code:
$uri = "https://graph.microsoft.com/v1.0/groups/[groupID]/members/`$ref"
$body = (@{'@odata.id'='https://graph.microsoft.com/v1.0/directoryObjects/[memberID]'} | ConvertTo-...
1
vote
1
answer
1k
views
Unable to get access token to sharepoint online addin using c# Console application
For the past few days, I tried all the ways possible. But couldn't get the access token for accessing Sharepoint online addin using c# console application. However I was able to get the access token ...
1
vote
1
answer
42
views
Get Microsoft Graph AccessToken from SharePoint ContextToken in RER
I have registered Remote Event Receivers on my SharePoint list. I can receive remote events in my custom code.
Is it possible to receive Microsoft Graph AccessToken from SharePoint ContextToken?
I ...