In my iOS apps written natively in Swift using Swift package manager. I am 100% of the time able to send a push using the Azure portal in a sandbox environment, however, in Xcode 14.0.1 (14A400) I am seeing "Push notifications authorization was denied." for my sandbox "debug" release.
2022-10-20 10:12:51.564028-0400 <app name>[13845:569398] Internet connection is up.
2022-10-20 10:12:51.743489-0400 <app name>[13845:569398] Registered for push notifications with token: <token>
2022-10-20 10:13:02.609123-0400 <app name>[13845:569725] Push notifications authorization was denied.
2022-10-20 10:13:02.641600-0400 <app name>[13845:569398] Registered for push notifications with token: <token>
In the Azure portal I can successfully send a push, and I get the push on the device, and I see this in the portal
The Notification was successfully sent to the Push Notification System
Why is MSNotificationHub posting "Push notifications authorization was denied." I get this message after I tap "allow" to opt into push notifications on application launch.