elastic / apm-agent-ios

Apache License 2.0
31 stars 19 forks source link

APM iOS Agent interrupt Miocrosoft Intune #200

Open VivekKPatil opened 10 months ago

VivekKPatil commented 10 months ago

We had Microsoft intune with MSAL & MAM integrated in our application. It work fine without APM iOS Agent. But as soon as we added APM iOS Agent app started giving issues which are as follows:-

  1. Microsoft Sign In page coming again and again even after once signed in
  2. Whenever App launches Userdefaults.standad values are going to be vanished
bryce-b commented 10 months ago

I'm not familiar with Microsoft intune. Could you provide some more detail on how you are using it and provide some examples? This may be due to our networking instrumentation, can you try disabling the URLSession instrumentation by passing a InstrumentationConfiguration object to Agent.start()? It'll look something like this:

Agent.start(with: config, InstrumentationConfigBuilder().withURLSessionInstrumentation(false).build())