Hello all,<\/p>\n

Advertisement

I have an on-prem install of Spiceworks. I have recently migrated my Exchange 2010 mail server to Office 365. I am running a Federated domain and using ADFS for authentication. I have been unable to get Spiceworks to connect to any mailbox in Office 365 for incoming mail using either Exchange or IMAP protocols and I believe it might have to do with using ADFS. Has anyone run into this and gotten it to work?<\/p>\n

Advertisement

Thanks,<\/p>\n

Mike<\/p>","upvoteCount":3,"answerCount":21,"datePublished":"2018-09-14T13:13:15.000Z","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"},"acceptedAnswer":{"@type":"Answer","text":"

I ended up changing my tenant authentication from ADFS to Pass Through Authentication. Problem solved for more than just Spiceworks.<\/p>","upvoteCount":1,"datePublished":"2018-10-01T14:44:00.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/21","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"}},"suggestedAnswer":[{"@type":"Answer","text":"

We are exactly the same setup (AD syncing to O365) and it works just fine for us.<\/p>\n

I created a real mailbox (can’t be shared) and licensed that user in O365.<\/p>\n

In Spiceworks I am setup for the following:<\/p>\n

Outgoing<\/p>\n

SMTP (not Exchange) and the host is smtp.office365.com<\/a> on port 587 (turn on requires auth and put in the email address and password)<\/p>\n

Incoming<\/p>\n

IMAP on port 993. Use SSL and enter your users email and password.<\/p>","upvoteCount":0,"datePublished":"2018-09-14T13:40:35.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/2","author":{"@type":"Person","name":"bruceforbes7564","url":"https://community.spiceworks.com/u/bruceforbes7564"}},{"@type":"Answer","text":"

@Bruce5601<\/span><\/p>\n

Are you using ADFS for authentication and not just AD Connect?<\/p>","upvoteCount":0,"datePublished":"2018-09-14T13:49:06.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/3","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"}},{"@type":"Answer","text":"

Sorry it is AD Connect that I use but I don’t see how that makes a difference. You are hosting your email on Office 365 and those are the settings that allow you to connect to it. Are you hybrid or strictly Office 365?<\/p>","upvoteCount":0,"datePublished":"2018-09-14T13:50:56.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/4","author":{"@type":"Person","name":"bruceforbes7564","url":"https://community.spiceworks.com/u/bruceforbes7564"}},{"@type":"Answer","text":"

I’m hybrid right now but looking to decommission my on-prem servers soon. And yes… ADFS does make a difference since ALL authentication goes back to my domain and is not handled by O365.<\/p>","upvoteCount":0,"datePublished":"2018-09-14T13:57:09.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/5","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"}},{"@type":"Answer","text":"

\n
\n
<\/div>\n\"\" mike4269:<\/div>\n
\n

I’m hybrid right now but looking to decommission my on-prem servers soon. And yes… ADFS does make a difference since ALL authentication goes back to my domain and is not handled by O365.<\/p>\n<\/blockquote>\n<\/aside>\n

Didn’t know that about ADFS. I was thinking of switching over so this will definitely be something to be aware of since Spiceworks isn’t the only thing I have going on that I need to connect to a mailbox in Office 365.<\/p>\n

I guess I’ll have to watch this thread to see how this works out. Sorry I couldn’t help!<\/p>","upvoteCount":1,"datePublished":"2018-09-14T13:59:44.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/6","author":{"@type":"Person","name":"bruceforbes7564","url":"https://community.spiceworks.com/u/bruceforbes7564"}},{"@type":"Answer","text":"

Spiceworks isn’t designed to work with ADFS. The setup Bruce mentioned is really the only way we’ve seen Office 365 and Spiceworks play nicely together.<\/p>\n

I have seen threads where folks using ADFS were able to get email working, though. For example: Spiceworks and Office 365<\/a><\/p>","upvoteCount":0,"datePublished":"2018-09-18T10:22:56.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/7","author":{"@type":"Person","name":"jonm","url":"https://community.spiceworks.com/u/jonm"}},{"@type":"Answer","text":"

IF I read that thread correctly I think they are saying that they created a new email address (and I assume not using AD but actually in the portal) that they use for Spiceworks?<\/p>","upvoteCount":0,"datePublished":"2018-09-18T11:07:31.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/8","author":{"@type":"Person","name":"bruceforbes7564","url":"https://community.spiceworks.com/u/bruceforbes7564"}},{"@type":"Answer","text":"

I believe so. That’s how it sounded to me as well (portal vs AD).<\/p>","upvoteCount":0,"datePublished":"2018-09-18T11:13:51.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/9","author":{"@type":"Person","name":"jonm","url":"https://community.spiceworks.com/u/jonm"}},{"@type":"Answer","text":"

@Jon<\/a> That thread is from 2012. Creating a new email address doesn’t work… I tried. I believe the problem is I am running a Federated Office 365 tenant using ADFS Modern Authentication and that won’t let anything that doesn’t support OAuth2 tokens work. I can’t get Spiceworks to connect using Exchange settings or SMTP / IMAP. In fact, I can’t get any devices to connect using SMTP / IMAP.<\/p>","upvoteCount":0,"datePublished":"2018-09-18T11:15:35.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/10","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"}},{"@type":"Answer","text":"

\n
\n
<\/div>\n\"\" mike4269:<\/div>\n
\n

@Jon<\/a> That thread is from 2012. Creating a new email address doesn’t work… I tried. I believe the problem is I am running a Federated O365 tenant using ADFS Modern Authentication and that won’t let anything that doesn’t support OAuth2 tokens work. I can’t get Spiceworks to connect using Exchange settings or SMTP / IMAP. In fact, I can’t get any devices to connect using SMTP / IMAP.<\/p>\n<\/blockquote>\n<\/aside>\n

That’s a big problem for me then. I have a number of devices that send email via SMTP (printers, etc) which I could get around easily I suppose by using my own SMTP server but my phone system and my Customer Service helpdesk systems both require a full mailbox for sending and receiving.<\/p>","upvoteCount":0,"datePublished":"2018-09-18T11:21:17.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/11","author":{"@type":"Person","name":"bruceforbes7564","url":"https://community.spiceworks.com/u/bruceforbes7564"}},{"@type":"Answer","text":"

I have devices like UPSes, Firewalls, and SANs that send notices via SMTP so I just whitelisted my public IP with Office 365 and they just relay through without issue. I have Spiceworks doing the same too but still have the incoming email tied to an on-prem email account. I also have another external service that needs to connect via SMTP and I’m not gonna whitelist something external to allow relays. I want to kill off my on-prem server but can’t do so until I get this figured out.<\/p>","upvoteCount":0,"datePublished":"2018-09-18T11:26:45.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/12","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"}},{"@type":"Answer","text":"

Ahh, gotcha. I can see the OAuth bit being the problem. \":confused:\" Sadly, there’s not really a way to make that work with Spiceworks.<\/p>","upvoteCount":0,"datePublished":"2018-09-18T11:43:45.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/13","author":{"@type":"Person","name":"jonm","url":"https://community.spiceworks.com/u/jonm"}},{"@type":"Answer","text":"

I read somewhere that I should look into an SMTP / IMAP proxy to get through this issue but I haven’t yet figured out what I need to do to get one setup.<\/p>","upvoteCount":0,"datePublished":"2018-09-18T11:46:08.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/14","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"}},{"@type":"Answer","text":"

The thumbs down was not for your response, but the lack of a solution. \":frowning:\"<\/p>\n

@Jon<\/a> do you know if there are plans to resolve or work around this issue?<\/p>","upvoteCount":0,"datePublished":"2018-09-19T16:28:36.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/15","author":{"@type":"Person","name":"justin","url":"https://community.spiceworks.com/u/justin"}},{"@type":"Answer","text":"

No worries! Right now, I don’t know of any plans to work on this bit. The developers are currently focused on other projects than the desktop app. There’s a more detailed post on that here: State of Desktop app v8.0<\/a><\/p>","upvoteCount":0,"datePublished":"2018-09-20T19:14:48.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/16","author":{"@type":"Person","name":"jonm","url":"https://community.spiceworks.com/u/jonm"}},{"@type":"Answer","text":"

@Jon<\/a> Does the cloud flavor of Spiceworks work with a Federated O365 tenant using ADFS Modern Authentication?<\/p>","upvoteCount":0,"datePublished":"2018-09-24T20:19:13.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/17","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"}},{"@type":"Answer","text":"

Unfortunately, the Cloud Help Desk doesn’t currently support that either.<\/p>","upvoteCount":0,"datePublished":"2018-09-25T11:03:59.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/18","author":{"@type":"Person","name":"jonm","url":"https://community.spiceworks.com/u/jonm"}},{"@type":"Answer","text":"

I just noticed this thread has been marked as SOLVED. Definitely NOT<\/em> solved in my eyes. I still need a solution to my problem and this issue is not restricted to just Spiceworks. I have other services that need to connect to O365 using SMTP & IMAP.<\/p>","upvoteCount":0,"datePublished":"2018-09-25T17:33:37.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/19","author":{"@type":"Person","name":"carpio","url":"https://community.spiceworks.com/u/carpio"}},{"@type":"Answer","text":"

Why not just set up a shared mailbox directly in O365 for Spiceworks and forget the AD authentication altogether? We have an O365 shared mailbox set up for SW and it works.<\/p>","upvoteCount":0,"datePublished":"2018-10-01T14:37:14.000Z","url":"https://community.spiceworks.com/t/spiceworks-and-office-365-authenticating-with-adfs/673285/20","author":{"@type":"Person","name":"scottm1979","url":"https://community.spiceworks.com/u/scottm1979"}}]}}