question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Content is outdated

See original GitHub issue

Follow the steps in https://docs.microsoft.com/en-us/dotnet/api/overview/azure/billing

It doesn’t work. The latest Microsoft.Azure.Management.Billing nuget package is not having the .NET types needed for the code.

image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
HarveyLinkcommented, Aug 23, 2021

@EdiWang Further update, This should be the correct sample code:

            // Log into Azure
            var serviceCreds = ApplicationTokenProvider.LoginSilentAsync(tenantId, clientId, secret).Result;
            var billingClient = new BillingManagementClient(serviceCreds);
            billingClient.SubscriptionId = subscriptionId;

            // Get list of invoices
            billingClient.Invoices.ListByBillingAccount(accountName);
0reactions
msftbot[bot]commented, Nov 8, 2021

Hi @EdiWang, since you haven’t asked that we “/unresolve” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve” to reopen the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Refresh Outdated Content tool - Search Console Help
Use the Refresh Outdated Content tool to have Google update search results for pages or images that no longer exist, or pages that...
Read more >
How to Use Google's Tool to Remove Outdated Content
Go to the Outdated Content Removal Tool form and hit “New Request.” Enter the URL of the page you want and it will...
Read more >
Why Removing Outdated Content Could Save Your Site
Outdated content is any page on your website that is inaccurate, lacks value, or doesn't reflect your current brand positioning. Here are a...
Read more >
5 Reasons You Should Remove Outdated Content (And ...
Outdated and aging content is something that few folks think or worry about, and arguing that it's a best practice to always keep...
Read more >
How to Identify and Refresh Outdated Content
Keeping your content fresh and updated is more than overcoming the unfairness of your past work fading away. It's actually a legit marketing ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found