Getting Exception code 105 Authentication failed. Either supplied credentials are invalid or the account is inactive

Sunil Yadav 5 Reputation points
2023-11-25T08:50:23.0266667+00:00

Tracking id

fa2a92f9-561f-48c0-9004-9acd09a47534

I am getting the following exception during the download report using C# SDK.

I know the 2 reason may cause.

(1)Authentication token and developer token

(2)Scope related issue

First of all I am calling get accounts of Microsoft ads and its working fine.

After getting account id I have call folooing method with same authorization data but got exception.

 var reportContainer = await reportingServiceManager.DownloadReportAsync(reportingDownloadParameters,  CancellationToken.None);

"I want to know if my ad account status is paused. Is it the reason for this exception?"

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
401 questions
0 comments No comments
{count} votes