Offer your thoughts or opinion on the input financial query or topic using your financial background.

Why would a company sell debt in order to buy back shares and/or pay dividends?
My answer is not specific, or even maybe applicable, to Microsoft. Companies don't want to cut dividends. So they have a fixed expense, but the cashflow that funds it might be quite lumpy, or cyclical, depending on the industry. Another, more general, issue is that taking on debt to retire shares is a capital allocation decision. A company needs capital to operate. This is why they went public in the first place, to raise capital. Debt is a cheaper form of capital than equity. Equity holders are last in line in a bankruptcy. Bondholders are at the front of the line. To compensate for this, equity holders require a larger return -- often called a hurdle rate. So why doesn't a company just use cheaper equity, and no debt? Some do. But consider that equity holders participate in the earnings, where bondholders just get the interest, nothing more. And because lenders don't participate in the potential upside, they introduce conditions (debt covenants) to help control their downside exposure. For a company, it's a balance, very much the same as personal finances. A reasonable amount of debt provides low-cost capital, which can be used to produce greater returns. But too much debt, and the covenants are breached, the debt is called due immediately, there's no cash to cover, and wham! bankruptcy. A useful measure, if a bit difficult to calculate, is a company's cost of capital, and the return on that capital. Cost of capital is a blended number taking both equity and debt into account. Good companies earn a return that is greater than their cost of capital. Seems obvious, but many companies don't succeed at this. In cases where this is persistent, the best move for shareholders would be for the company to dissolve and return all the capital. Unfortunately, as in the Railroad Tycoon example above, managers' incentives aren't always well aligned with shareholders, and they allocate capital in ways advantageous to themselves, and not the company.