Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
How do I format my ODBC connection string to use OAuth2.0 Certificate
I have configured an integration to allow for OAuth 2.0 (Authorization Code Grant, Client Credentials (M2M), and set scope to include SUITEANALYTICS CONNECT). I have generated a cert and uploaded it to NS OAuth 2.0 Client Credentials Setup. I can use this integration to generate an oauth access token and can use that in a DSN-less connection string in any number of applications to connect and see my data.
Working Example with specifics hidden:
DRIVER={NetSuite Drivers 64bit};Host=xxxxxxx-sb1.connect.api.netsuite.com;Port=1708;Encrypted=1;ServerDataSource=NetSuite2.com;Truststore=system;CustomProperties=AccountID=xxxxxxx_SB1;RoleID=57;OAuth2Token=xxxxxxx
I need help with the following: How can I change my connection string so that it utilizes the cert for M2M rather than need to generate a token each hour? I will happily change to a DSN if someone can suggest the modifications needed for the registry.