web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

403 Forbidden error in Postman connected to usconebox environment

(1) ShareShare
ReportReport
Posted on by 405
Hi all,
 
I have set Postman Desktop to connect with my local Dev VM and already running well. So basically I want to try run my custom API with this Postman. It was something like below:
 
 
While it was running just fine, I currently change my local DB connection to my Tier-2 database. So when I'm calling http:////usconebox... the data being used and displayed is from my local SQL anymore, instead from Azure SQL (from my Tier-2 F&O installation). This being done after changing my Web.config to the Tier-2 SQL database. I changed these :
 

<add key=”DataAccess.Database” value=”<example_axdb_fromAzure>” />
<add key=”DataAccess.DbServer” value=”<example_axdb_server.database.windows.net>” />
<add key=”DataAccess.SqlPwd” value=”<password_from_LCS-request access>” />
<add key=”DataAccess.SqlUser” value=”user_from_LCS-request access” />

 
Problem now is in Postman I'm getting /403 - Forbidden/ error. May I know what authorization this Postman referring to ?
 
The error message accompany the 403 error code is below:
 /Message/: /Please verify that the user is valid and set up correctly./
 
Btw, for the token is retrieved successfully, so it is not about no token, beside it is usually will be 401 Unauthorized error instead.
 
Thanks.
 
I have the same question (0)
  • Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi Teevo,
     
    Did you make sure that you are pointing to the new UAT url when retrieving the access token?
     
    Also did you define in UAT the clientId that you are using in postman?
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Teevo Profile Picture
    405 on at
    Hi Layan,
     
    Basically I'm not changing anything in the Postman environment setup when change database connection to my Tier-2 DB (UAT).
     
    And the way I get the token is like this :
     
    The tenant_id = my Azure tenant 
    client id and secret = get from Azure as well (the app registration)
     
    only resource is = https://usnconeboxax1aos.cloud.onebox.dynamics.com/.default
     
    Did you mean I need to change this resource to my UAT (Tier-2) ? but the idea is to use my local code while the web.config for database is pointing to that UAT DB.
     
    And what I mean by not changing anything in Postman environment setup is those setting also the one which able to run already when I'm using my local DB (before change web.config)
     
    Is there anything I need to change with Postman setting ? That's why I want to know which user id (authorization) does the 403-Forbidden referring to ?
     
    Thanks.
     
     
  • Verified answer
    Anthony Blake Profile Picture
    3,092 Super User 2026 Season 1 on at
    On your tier 2 environment, make sure you have setup the integration user against your SP App Id, under System Admin->Setup->Microsoft Entra ID Applications
  • Teevo Profile Picture
    405 on at
    Hi Anthony,
     
    Thanks. The Apps already registered in my UAT (Tier-2). The change I need to do is in my Postman setting environment setup to use my UAT client id, secret id and secret value instead.

    May I ask help to close this thread, mark Anthony last replied. 
     
    Solved. thanks.
  • Anthony Blake Profile Picture
    3,092 Super User 2026 Season 1 on at
    Great news, thanks for the update.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 659

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 465 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 304 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans