07-15-2024 11:09 AM
Lately, SSO login for Meraki Dashboard has been a huge nuisance for me, as I'm getting access to more and more customer organisations that use SAML SSO in their organizations.
If unsuccessful in convincing their IT teams to add me directly as a local admin to their Org, I have to go through having my account created in their Azure tenant.
Which by all means is probably also the correct way, IT security wise.
But as an MSP with access to many customers, SSO is a PITA. Many customers followed the guides on the Meraki Documentation on how to setup SSO for their org in Meraki, but this has also resulted in many organisations' lack of consideration of the different SAML attributes in Azure.
An easy fix would be to set the username attribute to something else than userprincipalname, which for some reason equates to their email address. In my tests, using employeeid is usually the best alternative, since chances are that this is more unique between customers and organisations, and especially for external consultants like myself.
I'm curious as to how others handle SAML SSO from an MSP stand of view? Do you also spend days during first time onboarding in just trying to get access, by having to make the customer reconfigure their Dashboard App, which by all means works for them?
What are you tips&tricks for when setting up SAML SSO? Or is there a simple Meraki setting that I'm just not aware of, that will fix everything, without having to touch their Azure tenant?
07-16-2024 02:21 AM
Okay. So I add the same SHA thumbprint to another lab dashboard that I have. The consumer url on this Org is different to that of my first Org. In the Dashbord Application on Azure it still referes to the Consumer URL of the first Org. Where should I then reference the Consumer URL for the second org?
07-16-2024 02:23 AM
> Where should I then reference the Consumer URL for the second org?
You don't. It is unused. As soon as you have two configured it then takes you to the MSP portal.
I just onboarded another brand new org. On the Meraki Dashboard org settings side, it just needed the config below. Onboarding is super simple!
07-16-2024 02:24 AM
One thing I will mention - if you are onboarding a new org on a different shard there seems to be a delay before it appears in your MSP portal. Maybe a 5-minute wait.
Once you have enough orgs onboarded, it is near instant.
07-16-2024 02:33 AM
Aha! Interesting. I'm now getting both orgs with the SAML SSO.
I think I've read through the SAML SSO guides on Meraki Docs hundreds of times, but I think these few details were really missing.
07-16-2024 02:34 AM
Perfect. So you see how simple that is to onboard a new customer?
Put in your certificate hash, your SAML role name, finished.
07-16-2024 02:51 AM
Yes, it is simple and I see that we will still get the "easy" switching between organizations. Although, instead of simply browsing to dashboard.meraki.com, we'd now have to jump in through myapplications.meraki.com, and from there jump into the dashboard.
However, it still creates those issues where one has a local login somewhere in Meraki, which conflicts with SAML SSO.
E.g. my lab at home is a CMNA kit (from when you could get a full stack) with a couple other devices I scoured up over the years. This is an organization I'd prefer not having ties to my employers AD, however I still use my company email on it, to switch back and forth between lab networks and customers when needing to do changes.
Addtionally, SAML users can not create API Keys, so we'll have to add a local user to their dashboard anyway if needing to use Meraki API. Then from my perspective, I'd expect to run into the same troubles, since the API user cannot be a SAML user, but must a local user, and theres a match on the email address.
But I suppose, this is where user.displayname as the username attribute, comes into play?
07-16-2024 03:12 AM
>Although, instead of simply browsing to dashboard.meraki.com
I mostly live in my web browser. For me it is about three clicks. From webmail I click on the 9 dots in the top left hand corner, type "me" which brings up "Meraki Dashboard", and then click on it. Pretty quick to get in huh?
>still creates those issues where one has a local login somewhere in Meraki, which conflicts with SAML SSO
On every SAML deployment I have done (and I have done a few) I always change the username attribute to user.displayname. Problem solved.
>Addtionally, SAML users can not create API Key
Yet... Watch this space.
07-16-2024 03:19 AM
You should be able to copy the link of the application from the myapps page, add this to your bookmarks toolbar and then you're only a button press away from logging in 😊
07-16-2024 12:26 AM
We have a single enterprise app in Entra and then use the same certificate fingerprint configured in all our customer Meraki orgs - this allows IdP initiated login for us as the MSP to all. We have two roles, one for read only and one for full.
The customer can then optionally setup their own alongside this.
07-16-2024 12:33 AM
Another way you could attack this (I have not tested this) would be to get the customer to add your email address to their Entra ID as a guest user. Then grant that guest user access to the Meraki Entra ID app. It should work.
You could make it smoother by having the customer create an Entra ID B2B relationship between their Entra ID tennancy and yours to trust your MFA. This requires your customer to have an Entra ID P1 licence or better.
This would allow you to do seemless sign in to your customers Meraki environment.
But personally, I prefer direct SAML to the dashboard from your environment ...
And more specifically, I prefer Cisco Duo as the SAML Idp because it is so much easier to setup and manage ...
07-16-2024 12:55 AM
Having the customer adding med as a Guest User in their tenant, is usually where it goes badly. I'm added with my company email as a guest to the customers tenant, and as my email is already known as local account on many other customers organizations, I end up getting redirected to the Meraki "true" page with a SAML login failure in the dashboard logs.
07-17-2024 05:52 AM
@Philip D'Ath great content and discussion. This is what these boards are for. Way better than just links to the KB articles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide