Can you please help me to find how to use OAuth2 "act" (Actor) claim by using Microsoft "/oauth2/v2.0/token" API (login.microsoftonline.com) ?
I'm searching Microsoft documentation and forums without success.
I start doubting that Microsoft implemented it, because the access token documentation did not mention the "act" claim.
Any clue will be helpful.
Thank you
Related
As Microsoft is soon deprecating the MSOL Module, we are converting everything over to direct Graph API calls.
Does anyone know how to accomplish the functionality of
Set-MsolPasswordPolicy
using direct Graph API calls?
Searched Microsoft documentation for anything related to:
"Password Policy"
"Validity Period"
"Notification Days"
I found one attirbute under the user object
"passwordPolicies"
User
Result:
none of these turned up any endpoints that would accomplish what Set-MsolPasswordPolicy does
Based on feedback I have received and my own research, Microsoft has not yet developed an API endpoint to handle this.
I'd like to administer different tenants remotely using the Connect-MicrosoftTeams -AccessTokens option. From what I read, one needs to retrieve the token for the tenant through Microsoft Graph. What I do not understand is how and which permission to request.
Is there anyone who has done this and could point me to some documentation or maybe provide an example request? Thanks!
Use Graph Explorer to determine what are the APIs you want to use. On the “Modify Permissions (Preview)” Tab you will be able to see what kind of permissions are needed for that particular API.
https://developer.microsoft.com/en-us/graph/graph-explorer
See Microsoft Graph permissions reference, Authentication and authorization basics for Microsoft Graph, Authorization and the Microsoft Graph Security API
I am creating new product. for that I have to use available security features. should I use Oauth2 or Json web token? which is better and in which situation these should be used?
I think you may find your answer in using org.apache.oltu.oauth2.
https://www.programcreek.com/java-api-examples/?api=org.apache.oltu.oauth2.client.request.OAuthClientRequest.AuthenticationRequestBuilder
You can see an implementation for oauth and openID here oauth server and resource server
Just to explain what they are,
oauth server creates the tokens
resource server uses that token and processes it to give you the requested data
You can also go through the following docs to understand what they mean and how to implement them,
sample implementation in java , oracle tutorial on the concept of tokens
If you want to do google API auth then you can go through this
I also found this stackoverflow link which is sort of similar question and has shared few of similar links. You should check that out as well.
I'm trying to access to O365 (Security & Compliance) eDiscovery with Microsoft Graph API ?.. as far as microsoft flow does not allow it either.. any idea how to execute search contents or use Data subject requests with API ?
thank you
Unfortunately we do not have this capability available on Microsoft Graph. Please vote on this feature request on https://microsoftgraph.uservoice.com/ . I don't believe anyone has requested this yet so may need to create not vote up.
I'm trying to access Google spreadsheets using gdata-python-2.0.17 library. In every tutorial, programmaticLogin(uname,pwd) is used but I feel it is not a good practice. I'm trying to overcome this by using OAuth 2.0 authentication(oauth2client.client).
I've managed up to granting access to a Google account by getting user consent.
I'm not sure whether the standard gdata.spreadsheet.service.SpreadsheetsService() can be used in this scenario.
According to this, it is not possible/easy to combine OAuth 2.0 and gdata-python library.
It's highly appreciated if someone know how to handle this with the said APIs or using later versions of Google API which can be used.
Thanks