Acces web service my localhost BC

I’m install new business central in my laptop so the BC is localhost I trying to access the webservice with postman but it’s always shown 401 unauthorized


here my configuration

key value


ADOpenIdMetadataLocation
ALCompatibleDateFormatCultureList
ALFunctionTimingEnabled true
ALLongRunningFunctionTracingThresholdForApplicationInsights 10000
AllowReadingCrossTenantApplicationDatabaseTables false
AllowSessionCallSuspendWhenWriteTransactionStarted true
AllowSessionWhileSyncAndDataUpgrade false
AmountOfSqlStatementsInDebugger 10
ApiServicesEnabled true
ApiSubscriptionDelayTime 30000
ApiSubscriptionExpiration 3
ApiSubscriptionMaxNumberOfNotifications 1000
ApiSubscriptionMaxNumberOfSubscriptions 200
ApiSubscriptionNotificationUrlTimeout 5000
ApiSubscriptionsEnabled true
ApiSubscriptionSendingNotificationTimeout 30000
AppIdUri
ApplicationInsightsConnectionString
ApplicationInsightsInstrumentationKey
AzureActiveDirectoryClientCertificateThumbprint
AzureActiveDirectoryClientId
AzureActiveDirectoryClientSecret
AzureKeyVaultAppSecretsPublisherValidationEnabled true
AzureKeyVaultClientAuthority
AzureKeyVaultClientCertificateStoreLocation LocalMachine
AzureKeyVaultClientCertificateStoreName My
AzureKeyVaultClientCertificateThumbprint
AzureKeyVaultClientId 00000000-0000-0000-0000-000000000000
AzureKeyVaultKeyUri
BackgroundSessionsDefaultTimeout 08:00:00
BackgroundSessionsDefaultWaitTimeout 08:00:00
BackgroundSessionsMaxConcurrent 10
BackgroundSessionsMaxQueued 100
BufferedInsertEnabled true
CalendarTwoDigitYearMax -1
ChildSessionsMaxConcurrency 5
ChildSessionsMaxQueueLength 100
ClientBuildRestriction WarnClient
ClientServicesAllowedFileTypes
ClientServicesChunkSize 28
ClientServicesCompressionThreshold 64
ClientServicesCredentialType Windows
ClientServicesEnabled true
ClientServicesIdleClientTimeout MaxValue
ClientServicesMaxConcurrentConnections 4000
ClientServicesMaxItemsInObjectGraph 512
ClientServicesMaxUploadSize 350
ClientServicesOperationTimeout MaxValue
ClientServicesPort 7046
ClientServicesProhibitedFileTypes ade;adp;asp;bas;bat;chm;cmd;com;cpl;csh;exe;fxp;gadget;h…
ClientServicesProtectionLevel EncryptAndSign
ClientServicesSSLEnabled false
ClientServicesTokenSigningKey
DatabaseInstance
DatabaseName Demo Database BC (23-0)
DatabaseServer DESKTOP-EPAD2CS
DataCacheSize 10
DebuggingAllowed true
DefaultClient Windows
DefaultLanguage
DefaultTaskSchedulerSessionTimeout 12:00:00
DegreeOfParallelismForUpgrade 3
DeltaServiceClientTimeout 00:02:00
DeveloperServicesEnabled true
DeveloperServicesMaxRequestLength 419430400
DeveloperServicesPort 7049
DeveloperServicesSSLEnabled false
DisableQueryHintForceOrder true
DisableQueryHintLoopJoin true
DisableQueryHintOptimizeForUnknown true
DisableSmartSql false
DisableTokenSigningCertificateValidation false
DisableWriteInsideTryFunctions true
EnableALServerFileAccess true
EnableApplicationChannelLog true
EnableCloudReplicationMaintenance false
EnableDataExportImport true
EnableDeadlockMonitoring false
EnableDebugging false
EnableExclusiveApplicationPackageRole true
EnableExclusiveExistsCheckOnModify false
EnableExtensionProfileInsertionInTenantProfileTable false
EnableFullALFunctionTracing false
EnableLockTimeoutMonitoring false
EnableLongRunningSqlStatementsInDebugger true
EnableMalwareScanning false
EnableMembershipEntitlement
EnableMultithreadedCompilation true
EnablePartialRecords true
EnableProfileCacheSynchronization true
EnableSaveFromReportPreview true
EnableSaveToExcelForRdlcReports true
EnableSaveToWordForRdlcReports true
EnableSqlConnectionEncryption false
EnableSqlInformationDebugger true
EnableSqlReadOnlyReplicaSupport false
EnableSymbolLoadingAtServerStartup false
EnableTaskScheduler true
EnableTriStateLocking true
EnableUserConsistencyValidationOnTasks true
EnableWindowsPdfPrint true
EncryptionProvider LocalKeyFile
ExcelAddInAzureActiveDirectoryClientId
ExchangeAuthenticationMetadataLocation
ExtendedSecurityTokenLifetime 0
ExtensionAllowedTargetLevel Internal
ExternalEventsActivityLogCleanupBatchSize 50000
ExternalEventsActivityLogRetentionDays 7
ExternalEventsEnabledEnvironmentLevel true
ExternalEventsEnabledServiceLevel true
ExternalTraceLevel Error
GlobalSymbolReferenceCacheSize 200
GlobalSymbolReferenceCacheTTLInHours 24
IntegrationRecordsTableId 5151
LegacyOptionCaptionResolution false
LockoutPolicyFailedAuthenticationCount 0
LockoutPolicyFailedAuthenticationWindow 0
LongRunningSqlStatementsInDebuggerThreshold 500
ManagementApiServicesEnabled true
ManagementApiServicesPort 7086
ManagementApiServicesSSLEnabled false
ManagementServicesEnabled true
ManagementServicesIdleClientTimeout 10:00:00
ManagementServicesPort 7045
MaxConcurrentCalls 1000
MaximumSessionRecursionDepth 14
MaxRowsToExportToExcel MaxValue
MaxStreamReadSize 1000000
MaxTaskSchedulerSessionTimeout 2.00:00:00
Multitenant false
NASServicesEnableDebugging false
NASServicesRunWithAdminRights false
NASServicesStartupArgument
NASServicesStartupCodeunit
NASServicesStartupMethod
NavHttpClientMaxResponseContentSize 150
NavHttpClientMaxTimeout 00:05:00
NetFxComponentsServiceEstablishConnectionTimeout 00:00:05
NetFxComponentsServiceIsSideService false
NetFxComponentsServicePort 0
NetFxComponentsServiceUri http://localhost/
NetworkProtocol Default
NonInteractiveSessionsLogRetainInterval 5.00:00:00
ODataEnableExcelAddInAnnotations true
ODataMaxBodySize 350
ODataMaxConnections 0
ODataMaxConnectionsPerTenant 0
ODataReadonlyGetDisabledForObjects
ODataReadonlyGetEnabled true
ODataServicesEnabled True
ODataServicesMaxPageSize 20000
ODataServicesOperationTimeout 00:08:00
ODataServicesPort 7048
ODataServicesSSLEnabled false
ODataServicesV4EndpointEnabled true
ODataV4MaxConcurrentRequests 5
ODataV4MaxRequestQueueSize 95
OverwriteExistingTranslations true
PageBackgroundTaskAllowedAutomationMethods (Update,Microsoft.Dynamics.Nav.Client.BusinessChart;Publ…
PageBackgroundTaskDefaultTimeout 00:02:00
PageBackgroundTaskMaxTimeout 00:10:00
ProhibitedReportServerPrinters [“Microsoft Print to PDF”,“Microsoft XPS Document Writer”]
PTESymbolReferenceCacheSize 700
PTESymbolReferenceCacheTTLInHours 24
PublicODataBaseUrl
PublicSOAPBaseUrl
PublicWebBaseUrl
QueryMaxRows MaxValue
QueryTimeout MaxValue
ReplaceReportExecutionTimeWithClientTime true
ReportAppDomainIsolation true
ReportDefaultMaxDocuments 200
ReportDefaultMaxRows 500000
ReportDefaultTimeout 06:00:00
ReportingServiceEstablishConnectionTimeout 00:00:05
ReportingServicePort 0
ReportMaxDocuments 500
ReportMaxRows 10000000
ReportPDFFontEmbedding true
ReportTimeout 12:00:00
RequiredExtensions
SamplingProfilingEnabled true
SearchTimeout 00:00:30
SecurityProtocol Tls12
ServerInstance BC230
ServicesCertificateThumbprint
ServicesCertificateValidationEnabled true
ServicesDefaultCompany
ServicesDefaultTimeZone UTC
ServicesLanguage en-US
ServicesOptionFormat OptionCaption
ServicesUseNTLMAuthentication true
SessionEventTableRetainInterval 90.00:00:00
SnapshotDebuggerEnabled false
SnapshotDebuggerServicesPort 7083
SnapshotDebuggerServicesSSLEnabled false
SOAPMaxConcurrentRequests 5
SOAPMaxConnections 0
SOAPMaxConnectionsPerTenant 0
SOAPMaxRequestQueueSize 95
SOAPServicesEnabled false
SOAPServicesMaxMsgSize 65536
SOAPServicesOperationTimeout 00:10:00
SOAPServicesPort 7047
SOAPServicesSSLEnabled false
SolutionVersionExtension 00000000-0000-0000-0000-000000000000
SqlBulkImportBatchSize 448
SqlCommandTimeout 00:30:00
SqlConnectionIdleTimeout 00:05:00
SqlConnectionTimeout 00:01:30
SqlLockTimeoutOverride 0
SqlLongRunningThreshold 750
SqlLongRunningThresholdForApplicationInsights 750
SqlManagementCommandTimeout -1
SqlTracingAllowed true
SupportedLanguages
TaskSchedulerExecutionRetryExceptions NavAppObjectMetadataException;NavAdministratorMadeChange…
TaskSchedulerMaximumConcurrentRunningTasks 5
TaskSchedulerSystemTaskEndTime 23:59:59
TaskSchedulerSystemTaskStartTime 00:00:00
TestAutomationEnabled true
TokenSigningCertificateValidationMode IssuerNameValidation
TraceLevel Normal
TrustSQLServerCertificate false
UIElementRemovalOption LicenseFileAndUserPermissions
UnsupportedLanguageIds 1034
UseFindMinusWhenPopulatingPage true
UseIncrementalCompanyDelete false
UsePermissionSetsFromExtensions true
UseSimplifiedFilters false
ValidAudiences
WindowsPdfPrintTimeout 00:10:00
WSFederationLoginEndpoint
XmlMetadataCacheSize 500

and user bc

UserSecurityID : c39ea552-71dc-49e2-8d6f-29ac008f9601
UserName : DESKTOP-EPAD2CS\ELLEN PRATAMA
FullName :
State : Enabled
ExpiryDate : 1/1/0001 12:00:00 AM
WindowsSecurityID : S-1-5-21-3682647504-2304286873-1999036465-1001
ChangePassword : True
LicenseType : FullUser
AuthenticationEmail :
ContactEmail :
ExchangeIdentifier :
ApplicationID : 00000000-0000-0000-0000-000000000000
Password : gG+dueENIkNlY22zR0lKkQ==
NameIdentifier :
AuthenticationKey :
WebServicesKey :
WebServicesKeyExpiryDate : 8/31/2022 7:00:00 PM
AuthenticationObjectID :
DirectoryPermissionSetID :
DirectoryPermissionSetIDList : System.Byte
TelemetryUserID : 00000000-0000-0000-0000-000000000000
ProfileID :
Company : CRONUS Australia Pty. Ltd.
LanguageID : en-GB

UserSecurityID : 61cf2ae4-efad-40c0-a930-fdbff4f87fc2
UserName : ELLEN
FullName :
State : Enabled
ExpiryDate : 1/1/0001 12:00:00 AM
WindowsSecurityID :
ChangePassword : False
LicenseType : FullUser
AuthenticationEmail :
ContactEmail :
ExchangeIdentifier :
ApplicationID : 00000000-0000-0000-0000-000000000000
Password :
NameIdentifier :
AuthenticationKey :
WebServicesKey :
WebServicesKeyExpiryDate : 1/1/0001 12:00:00 AM
AuthenticationObjectID :
DirectoryPermissionSetID :
DirectoryPermissionSetIDList : System.Byte
TelemetryUserID : 9b71d936-6d88-43b2-9bdc-66c1f66ea217
ProfileID :
Company :
LanguageID :

everthing was setup fine i dont know what wrong, please help me

Hi @Ellen_Pratama,

Have you tried this GET using Microsoft Edge or Google Chrome? can you try and say if it works or not?

As I can see you use Windows credentials to get access. In my experience, NTLM is very problematic because is not an standard authentication process and most implementations we find in third applications are beta (like Postman).

GET requests can be done using an Internet Browser, and NTLM can be handled by both, Microsoft Edge and Google Chrome (and possibly by others).

If you want to have an API with standard authentication, like basic auth, you must create a BC service using navuserpassord.

i have tried this GET in Google Chrome and it was fine

Perhaps is a problem with Postman and its NTLM beta implementation.

You can try to do what I said, create a new BC service using navuserpassword instead of NTLM (you can maintain both), and use basic auth for authenication.