I have seen a lot of discussion on this, but nothing that seems helpful.
If the user has not given calendar permissions, or has declined permissions, in the initial access request, they need to go to the above page, to reset the permission.
However, I don't think that we are allowed to programmatically ask for this page.
Am I wrong?