Click here to Skip to main content
15,915,764 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: God I hate EF6... Pin
#realJSOP30-Mar-19 10:24
professional#realJSOP30-Mar-19 10:24 
GeneralRe: God I hate EF6... Pin
RickZeeland30-Mar-19 10:38
mveRickZeeland30-Mar-19 10:38 
GeneralRe: God I hate EF6... Pin
RickZeeland30-Mar-19 10:55
mveRickZeeland30-Mar-19 10:55 
JokeTwo ants ... Pin
OriginalGriff30-Mar-19 6:07
mveOriginalGriff30-Mar-19 6:07 
GeneralRe: Two ants ... Pin
RickZeeland30-Mar-19 8:07
mveRickZeeland30-Mar-19 8:07 
RantWhy Azure completely totally sucks today (and yesterday) Pin
Sander Rossel30-Mar-19 4:13
professionalSander Rossel30-Mar-19 4:13 
GeneralRe: Why Azure completely totally sucks today (and yesterday) Pin
lopatir30-Mar-19 4:27
lopatir30-Mar-19 4:27 
GeneralRe: Why Azure completely totally sucks today (and yesterday) [FIXED IT!!!] Pin
Sander Rossel30-Mar-19 4:58
professionalSander Rossel30-Mar-19 4:58 
I FOUND IT!!!

When I move my key vault config from appsettings.Development.json to appsetings.json everything works.
Probably because the Development.json is read after Program.cs, but the connection string for the database is in the key vault.
So in Program.cs I do my EF Core Migration, which is trying to read a connection string that isn't there (yet).

There was also an error in the key vault access policies.
Apparently, I had two app registrations with the same name, one I made, and one Azure generated (the MSI).
The key vault needs access to the MSI, not my own app registration.
The problem is that the generated MSI is not visible in the Azure AD, so it's kind of hard to check, but it does show up in the key vault.

Still no idea why everything worked locally though...
Perhaps it reads the Configuration differently in Azure?

All in all, I've learned a lot and I hate the world just a little bit more Smile | :)

GeneralRe: Why Azure completely totally sucks today (and yesterday) Pin
RickZeeland31-Mar-19 1:05
mveRickZeeland31-Mar-19 1:05 
QuestionMeteorite book for kids ? Pin
virang_2129-Mar-19 22:37
virang_2129-Mar-19 22:37 
AnswerRe: Meteorite book for kids ? Pin
OriginalGriff29-Mar-19 22:54
mveOriginalGriff29-Mar-19 22:54 
GeneralRe: Meteorite book for kids ? Pin
DRHuff30-Mar-19 5:34
DRHuff30-Mar-19 5:34 
AnswerRe: Meteorite book for kids ? Pin
RickZeeland30-Mar-19 0:45
mveRickZeeland30-Mar-19 0:45 
GeneralRe: Meteorite book for kids ? Pin
virang_2130-Mar-19 17:46
virang_2130-Mar-19 17:46 
AnswerRe: Meteorite book for kids ? Pin
Mark_Wallace30-Mar-19 9:14
Mark_Wallace30-Mar-19 9:14 
JokeRe: Meteorite book for kids ? Pin
Daniel Pfeffer30-Mar-19 22:17
professionalDaniel Pfeffer30-Mar-19 22:17 
GeneralRe: Meteorite book for kids ? Pin
Mark_Wallace31-Mar-19 4:24
Mark_Wallace31-Mar-19 4:24 
AnswerRe: Meteorite book for kids ? Pin
RickZeeland30-Mar-19 11:13
mveRickZeeland30-Mar-19 11:13 
GeneralDon't Hit Save OTD Pin
OriginalGriff29-Mar-19 21:16
mveOriginalGriff29-Mar-19 21:16 
GeneralRe: Don't Hit Save OTD Pin
RickZeeland29-Mar-19 22:00
mveRickZeeland29-Mar-19 22:00 
GeneralRe: Don't Hit Save OTD Pin
PIEBALDconsult30-Mar-19 3:57
mvePIEBALDconsult30-Mar-19 3:57 
GeneralRe: Don't Hit Save OTD Pin
Rick York30-Mar-19 5:52
mveRick York30-Mar-19 5:52 
GeneralMini CCCs 61 Pin
Tim Deveaux29-Mar-19 18:34
Tim Deveaux29-Mar-19 18:34 
GeneralRe: Mini CCCs 61 Pin
Randor 29-Mar-19 19:11
professional Randor 29-Mar-19 19:11 
GeneralRe: Mini CCCs 61 - Done Pin
Tim Deveaux29-Mar-19 19:35
Tim Deveaux29-Mar-19 19:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.