I have recently spent a substantial amount of time determining how to authenticate an OData feed from Project Online using Azure AD and Postman. There are many posts in different forums about this, but I wasn't able to find a single post that gave a complete working example. Following is the method that I have used.
Project Online Authenticate OData Feed using Azure AD and Postman
1.6k Views Asked by gwruck At
1
There are 1 best solutions below
Related Questions in OAUTH-2.0
- discord.py - Oauth2 - join user to guild
- Implementing Incremental consent when using both application and delegated permissions
- Verifying Google Identity OAuth2 token with Ruby
- spring security error Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: s
- Encountering HttpError 403 and 500 When Using Google Sheets API with Service Account
- get refresh token in axios interceptor
- spring error exception with oauth2 and securityconfig
- What oauth 2.0 endpoint is used to validate a bearer token
- Not enough permissions to access API request https://api.linkedin.com/v2/me
- How to specify the client ID and redirect URI in Swagger OAuth2.0 configuration for Swagger UI?
- OAuth2 PHP change invalid_token response
- Call Databricks API from an ASP.NET Core web application
- Secure to share Access Token over public API using CORs?
- How to use Oauth in order to log‑in on .googleapis.com on almost any arbitrary endpoints domains from the web browser?
- OAuth access token attribute based reverse proxying of http ressources
Related Questions in AZURE-ACTIVE-DIRECTORY
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Microsoft Entra ID - How to delete a tenant?
- Azure AD guest account in web app authentication user claims data
- Handling errors in MSAL Redirect - reactjs login with microsoft sso
- Azure Cross Cloud Auth using AAD
- Get id token from the access token
- Microsoft Identity does not work in docker desktop
- how to get refresh token in msal-browser Azure AD B2C login?
- Local DX for service-to-service authentication based on Managed Identities in Azure
- How can I add an identity provider to an existing user in an AWS Cognito user pool using the OIDC protocol?
- Azure B2C MFA custom policy flow 'try another way'
- How can I protect an Java Spring boot API against Azure AD B2C if I only have an id_token?
- Is there any way to get a new Azure CLI token without logging out?
- Code a Delegated Permission in Azure Powershell
- Service Principals I create are not being created as mine
Related Questions in POSTMAN
- Issue uploading files in spring boot java to onedrive using API
- Cannot serialize (Spring Boot)
- why when I check endpoint /tasks, an error always appears "error : invalid token" even though I have entered the appropriate token that I got
- mTLS not working with FastAPI and Uvicorn
- How to set Postman Settings to mimic the effect the -k option of curl
- Postman Webservice PHP Curl Code POST request giving forbidden error when run in local
- Laravel 10 - Passport - Personal Access Client
- How to get OAuth2 Access token from Postman
- I am struggling to get a 200 success request for my Heroku-hosted API on Rapid API for GET requests. I only receive a '404 page not found' error
- Postman + Flask Sending large file stalls
- Postman HeaderList remote function not working
- On paste StartFragment - EndFragment Postman issue
- Not receiving WebSocket messages in Postman using Laravel and beyondcode/laravel-websockets package
- Use JMeter to simulate receiving websocket broadcasts similar to okhttp3
- Response body in Postman is not in human-readable way, with proper indentation and line breaks
Related Questions in ODATA
- How to serialize the entire Microsoft.AspNetCore.OData.Results.PageResult<T> object with Newtonsoft.Json in .NET 6?
- possible to index singleValueExtendedProperties in MsGraph?
- D365 F&O - Cannot post addresses with OData
- How to get access token correctly from SAP Successfactors api?
- Odata filter DateTime casting string to DateTime and Filtering
- Response payload is not odata payload
- how to remove namespace from query string to filter an enum field with OData V4 in .NET
- Odata Put endpoint doesn't work as expected on ASP.NET Core MVC web service
- Odata filter query Unrecognized 'Edm.String' literal 'datetime'
- OData unit testing in .NET Core 6.0
- OData rest API with MS Project Online (SharePoint) "User not found in active directory or Project db
- How to upload data in power apps table using python
- ASP.NET Core OData creating generic pass through controller for underlying APIs
- MS Graph /drives/{drive-id}/items/{item-id}/children filter not folders
- Connecting to URL with Token within SSIS
Related Questions in PROJECT-ONLINE
- Setting desired EntityType on custom field creation using sharepoints REST API for Project Online
- How to Publish and CheckIn MS Project Online file
- Access Project online api on sharepoint online on c#
- Power Automate - Project Online - How can I get the Lists/items for a specific Project sharepoint site in Project Online?
- Project Online COM/Odata call in MS Project VSTO Addin using current user context
- function inside a function project online Odata url query
- Project Online Authenticate OData Feed using Azure AD and Postman
- PowerApps/Dataverse/Model-driven App/Microsoft Project. Is there any chance to change format of that date?
- Connecting to Project Online from Azure DevOps Extension
- People Picker in Microsoft Project Online
- Project Online - access project data and custom list in C# application
- Microsoft Project Online - Rest API Get Token
- How do I aggregate lists across Project online sites?
- How to Create Project For Web Project in MS Project Online?
- Power Automate get data from Project Online and Filter
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
ASSIGN PERMISSIONS IN PROJECT ONLINE
Open Server Settings / Manage Groups. Choose the Group that you want to allow to access the OData Feed and Ensure it has the Access Project Server Reporting Service under General in Global Permissions ticked.
CONFIGURE AZURE AD
Register a new app in Azure.
Define the Redirect Uri. (For postman, use https://oauth.pstmn.io/v1/callback)
Define a client secret
CONFIGURE POSTMAN
Create a new Request and define a Get query along the lines of the following. https://[Your Domain].sharepoint.com/sites/pwa/_api/ProjectData/Projects
This requests a list of projects.
Under params, add a new key accept = application/json if you want Json output. default is XML
Under Authorization Tab, choose the following:
If you enter all of this correctly and then press Get New Access Token, you should see a browser open, enter your credentials and then a token should return to Postman as shown in screenshots below. Press Use Token.
Note, if you are interested to see what the token contains, you can decode it at https://jwt.io/
At this point, press Send, run your query and confirm that the Body contains odata output.