question

StonerK-2919 avatar image
0 Votes"
StonerK-2919 asked CyrAz commented

SCOM 2019 - Azure Management Pack 1.8.0.5

I am trying to work with the Azure Management pack to however some strange issue is occurring lately.

  1. Subscription in the Administration section gets added successfully

  2. In the authoring section, when i select the Sub, the window closes and an error "The given key was not present in the dictionary" is prompted.

  3. Confirmed account has necessary access

  4. Removed MP and re imported it v1.8.0.5

  5. Removed latest MP and tried a previous version

  6. I have also tried changing api versions but to no luck

Any idea on what the issue might be ?

Thanks




msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CyrAz avatar image
0 Votes"
CyrAz answered CyrAz commented

That one will probably need some serious troubleshooting (or to raise a case with MS support).

Basically, the error is telling you that "some info" was not present where it was supposed to be.

So the first step is to have a look at the full error stack trace if you have it, to identify what part of the code triggered that error.
Then you'll have to uncompile the MP dll files to have a look at that portion of the code (written in C#), and do your best to understand what it's supposed to do.
Intercepting the communication between the MP and the Azure API using a Fiddler trace will also probably help to shed some light.

Or maybe someone already had the exact same issue and will be able to help :p

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have tried all possible combinations of troubleshooting I could think of, including

  1. Tracelogs

  2. Eventvwr

  3. Cleared MS Cache


What troubles me is that this use to work a few months ago, and now giving me this error without any changes performed on SCOM nor the MP.

I have 3 subscriptions added to this Azure MP. 2 of them triggering an alert whilst another triggering a different alert.

  1. The given key was not present in the dictionary

  2. One or more errors occurred.Invalid request

Looks like a case with MS is the only hope :)



0 Votes 0 ·

Additional, I have tested with a new Subscription hosting only 1 RG and worked without any errors.

I'm assuming it has something to do either with resource limitations or some other changes with some Azure resources and MP does not reflect such changes.

0 Votes 0 ·

So yeah, you're left with opening a case with MS support or try what I suggested...

1 Vote 1 ·