AzureAD/azure-activedirectory-library-for-dotnet

AdalClientException when initializing AuthenticationContext: TeamId returned null from the iOS keychain

slnali opened this issue · 6 comments

followed these instructions to rectify issue but after adding Entitlements.plist to custom entitlements, i now get could not find any provisioning profiles for iOS error?
image

@slnali Are you setting the .iOSKeychainSecurityGroup property? Here's an example

And if you go to properties for the iOS application, then iOS Bundle Signing, do you have the Entitlements there in Custom Entitlements? If not, please add them. |
image

Yes, it's been set.
image

It's actually when I set it that I get the provisioning profiles issue. When I remove the custom entitlement and just add it in the Entitlements.plist file I don't get the error anymore but then I run into the same AdalClientException issue.
image

This issue is happening before setting the .iOSKeyChainSecurityGroup (on initialisation of the AuthContext)
image

@slnali you should have something in your provisioning profile.
image

@jennyf19 so does this requires setting up an apple developer account? Didn't know this was required for testing the app via iOS Simulator locally.

@slnali ; yes it requires an apple developer account
😼

@slnali please reopen if necessary.