UPDATE
I have a conjecture as to the solution, based on some theoretical considerations, and it holds at least for $d=3,4$: $$ \int_0^\pi \left( \frac{\sin\phi}{\sqrt{1+u^2-2u\cos\phi}}\right)^{d-2}\,d\phi = \frac{\omega_{d}}{2\omega_{d-1}} \frac{u^{d-2}+1 - |u^{d-2}-1|}{u^{d-2}} = \frac{\omega_d}{\omega_{d-1}}\begin{cases} 1 & u\le1 \\ u^{2-d} & u>1 \end{cases} $$ Notice that $\int_0^\pi \sin^{d-2}\phi \,d\phi = \frac{\omega_d}{\omega_{d-1}}$. Not sure how to prove the conjecture though.
Background
I'm interested in computing a certain $d$-dimensional integral, for $d\ge3$, over the unit ball $B_d(\mathbf0,1)$. Let's denote its surface area by $\omega_d$; we know that its volume is then $\omega_d / d$. Then, the integral is: $$H(x) := \frac{d}{(d-2)\omega_d^2} \int_{B_d(\mathbf0,1)} |x-y|^{2-d}\,dy~~.$$ Using the usual spherical coordinates, let's write $x = (r,\theta)$ and $y = (\rho,\phi)$, the angles measured from the $d^\text{th}$ coordinate. Then we have \begin{align*} H(r,\theta) &= \frac{d}{(d-2)\omega_d^2}\int_0^1\int_{S_d(\mathbf0,1)} \left(r^2+\rho^2 - 2r\rho\cos(\theta-\phi) \right)^{\frac{2-d}{2}}\,d\Omega\,\rho^{d-1}d\rho\\ &= \frac{dr^{2-d}}{(d-2)\omega_d^2}\int_0^1\int_{S_d(\mathbf0,1)} \left(1+(\rho/r)^2 - 2(\rho/r)\cos(\theta-\phi) \right)^{\frac{2-d}{2}}\,d\Omega\,\rho^{d-1}d\rho\\ &= \frac{dr^2}{(d-2)\omega_d^2}\int_0^{1/r}\int_{S_d(\mathbf0,1)}\left( 1+u^2 - 2u\cos\phi\right)^{\frac{2-d}{2}}\,d\Omega\,u^{d-1}du\\ &= \frac{dr^2\omega_{d-1}}{(d-2)\omega_d^2}\int_0^{1/r}\int_0^\pi \left( \frac{\sin\phi}{\sqrt{1+u^2-2u\cos\phi}}\right)^{d-2}\,d\phi\,u^{d-1}du~~. \end{align*}
Question
For general integer $d\ge3$, how does one solve the following integral for positive $u$: $$ \int_0^\pi \left( \frac{\sin\phi}{\sqrt{1+u^2-2u\cos\phi}}\right)^{d-2}\,d\phi~~. $$ For $d=3$, the substitution $t = -\cos\phi$ solves the problem succinctly, but for any greater $d$, it looks like some complex techniques may be necessary (e.g., as in $\int_0^{2\pi}\log(1 + u^2 - 2u\cos\phi)\,d\phi$, which is the analogous expression for $d=2$). However, my attempts in this direction haven't borne fruit. Any help is appreciated!