Тёмный

How to Authenticate an IMAP, POP, or SMTP connection using 2.0 Auth for ERP, SMTP application server 

Microsoft & beyond
Подписаться 1 тыс.
Просмотров 18 тыс.
50% 1

microsoftandbe...
learn.microsof...
Application (client) ID
:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Object ID
:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Directory (tenant) ID
:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
secret value:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Install-Module -Name AzureAD
Install-Module -Name ExchangeOnlineManagement
$AppId = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
$TenantId = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
Import-module AzureAD
Connect-AzureAd -Tenant $TenantId
($Principal = Get-AzureADServicePrincipal -filter "AppId eq '$AppId'")
$PrincipalId = $Principal.ObjectId
$DisplayName = "principal for IMAP/POP3"
Import-module ExchangeOnlineManagement
Connect-ExchangeOnline -Organization $TenantId
New-ServicePrincipal -AppId $AppId -ServiceId $PrincipalId -DisplayName $DisplayName
Add-MailboxPermission -User $PrincipalId -AccessRights FullAccess -Identity "Your email ID"

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 70   
@chimeranzl9147
@chimeranzl9147 11 дней назад
life saver, cheers!!!
@microsoftbeyond
@microsoftbeyond 10 дней назад
Thank you
@kadiransari3436
@kadiransari3436 3 месяца назад
Thank you so much for this video! The detailed explanation of how to authenticate IMAP, POP, and SMTP connections using OAuth 2.0 was incredibly helpful. Your step-by-step guide made it easy to follow along. Looking forward to more great content!
@microsoftbeyond
@microsoftbeyond 2 месяца назад
You're very welcome!
@raquibulhoque1059
@raquibulhoque1059 Год назад
Much needed tutorial. appriciate for the demonstration.
@microsoftbeyond
@microsoftbeyond Год назад
Thank you
@ITLabelon
@ITLabelon Год назад
thanks for the demonstration.
@microsoftbeyond
@microsoftbeyond Год назад
You are welcome!
@novi6018
@novi6018 Год назад
Very good.
@microsoftbeyond
@microsoftbeyond Год назад
Thank you! Cheers!
@uniqueshare7872
@uniqueshare7872 Год назад
Superb!
@microsoftbeyond
@microsoftbeyond Год назад
Thanks a lot!
@KingBigCle32
@KingBigCle32 Год назад
Very good 👍
@microsoftbeyond
@microsoftbeyond Год назад
Thank you 👍
@KingBigCle32
@KingBigCle32 Год назад
@@microsoftbeyond welcome
@Nachte-uf3en
@Nachte-uf3en Год назад
Fantastic!
@microsoftbeyond
@microsoftbeyond Год назад
Thank you
@sbconnectwithme
@sbconnectwithme Год назад
Nice. Thank you.
@microsoftbeyond
@microsoftbeyond Год назад
Most welcome
@AfriEye
@AfriEye Год назад
Great job.
@microsoftbeyond
@microsoftbeyond Год назад
Thanks!
@cartoonfriend1
@cartoonfriend1 Год назад
Super!
@microsoftbeyond
@microsoftbeyond Год назад
Super!
@jcm24
@jcm24 Год назад
Good!
@microsoftbeyond
@microsoftbeyond Год назад
Thanks!
@lwanye1800
@lwanye1800 Год назад
Very nice video!
@microsoftbeyond
@microsoftbeyond Год назад
Thank you very much!
@mama750
@mama750 Год назад
very useful!
@microsoftbeyond
@microsoftbeyond Год назад
Thank you
@eternallife5678
@eternallife5678 Год назад
Nice one! Keep it up.
@microsoftbeyond
@microsoftbeyond Год назад
Thank you
@FarihaAktar-on2bn
@FarihaAktar-on2bn Год назад
great
@microsoftbeyond
@microsoftbeyond Год назад
Thank you
@micham2077
@micham2077 5 месяцев назад
do you know how to avoid error Authentication unsuccessful, user is locked by your organization's security defaults policy , i don't want turn off security default's , i need use send thru SMTP with office365 mailbox from one app and multi printer..
@mohammad5361
@mohammad5361 4 месяца назад
I too have same issue
@micham2077
@micham2077 4 месяца назад
@@mohammad5361 i fix this bro :)
@NotAdrianF
@NotAdrianF 4 месяца назад
@@micham2077 how fix
@AshwinCodes
@AshwinCodes 2 месяца назад
Same issue
@BobblingRushi
@BobblingRushi Год назад
❤❤
@microsoftbeyond
@microsoftbeyond Год назад
Thank you
@julianfernandez3556
@julianfernandez3556 9 месяцев назад
Hello Man, thank you for your videos , they are very helpfull , Could this be valid for setting up an Office 365 account in Outlook with pop3?
@microsoftbeyond
@microsoftbeyond 9 месяцев назад
Unfortunately pop3 will not work in business basic license. But it will work in E1, E3 licenses.
@shubhamshinde9905
@shubhamshinde9905 2 месяца назад
i'm following above process successfully completed in that i'm unable to read the mail can u just provide sample java code for mail read
@bennet2444
@bennet2444 Год назад
Thank you for the tutorial but i have a small question: i followed all your steps and they worked fine but which login details should i use now for the application to send mails?
@microsoftbeyond
@microsoftbeyond Год назад
The email ID you selected before to send email from smtp/application server.
@bennet2444
@bennet2444 Год назад
@@microsoftbeyond thanks for your response. what exactly do you mean? the application where i am trying to send emails from just has fields for email address, emai server and the password.
@pkopalek
@pkopalek Год назад
@@bennet2444 Did you ever figure this out? I can't figure out what "password" I'm using here, or where to get it.
@bennet2444
@bennet2444 Год назад
@@pkopalek nah sorry mate didnt make it haha i think i will just switch back the auth mechanisms to the old ones where default username password / app passwords work
@MattSmith_Is_Awesome
@MattSmith_Is_Awesome 7 месяцев назад
Will this work to add smtp.access as well if I choose SMTP under the permissions?
@microsoftbeyond
@microsoftbeyond 2 месяца назад
Yes
@yashsoni-gv8bh
@yashsoni-gv8bh Год назад
Hello, I completed the setup using above video but still getting popups when trying to sign in with IMAP. Regarding Client secrect portion - when we'll need to apply that in the setup process?
@microsoftbeyond
@microsoftbeyond Год назад
This settings will only work in application server or erp server which only support pop/imap protocol. You cannot configure outlook by that. Also you have to enable authenticated SMTP.
@yashsoni-gv8bh
@yashsoni-gv8bh Год назад
@@microsoftbeyond thanks for responding! we have setup like this. we have inhouse SMTP server, we authenticate that server via IMAP and then relay it to the thierd party (mailchimp). Since IMAP is depricated, we want to user alternate way to authenticate when creating manual profile using IMAP setup. do above steps works in our environment whatsoever?
@microsoftbeyond
@microsoftbeyond Год назад
Technically this should work. But as you know Microsoft changes the things too much. So this Auth 2.0 might not work on every environment. You could try this and share the results.
@yashsoni-gv8bh
@yashsoni-gv8bh Год назад
@@microsoftbeyond Thank you for the Video and this infomation :)
@Simon-iv3gq
@Simon-iv3gq Год назад
Great!
@user-zs8cx8wt2o
@user-zs8cx8wt2o Год назад
Hi, is it possible to send emails using SMTP and oAuth authentication?
@microsoftbeyond
@microsoftbeyond Год назад
It's possible to send emails from SMTP from the Application server. Also, authenticated SMTP is still enabled for O365 users.
@narendranegii9376
@narendranegii9376 Год назад
Thanx for amazing video. I have SAP application in-premises and wants to relay email using SMTP OAuth by the smtp client submission. I have done the enterprise registration and added API send permission as a application administrator but still unable to send email from SAP application and giving error.
@microsoftbeyond
@microsoftbeyond Год назад
Can you share the error. You can email at microsoftandbeyond@gmail.com
@rangaupender4456
@rangaupender4456 Год назад
@naredranegii9376 We are also planning to config SAP outbound emails using SMTP OAuth. I think you have already configured it. Are you able to send emails with SMTP OAuth? As per SAP note 3236845 SAP does not support SMTP with OAuth.want to know how you have configured.
@loujohnson6392
@loujohnson6392 Год назад
Sir, would you be available for some consulting work on this to get it working for us? We have IMAP Working but cannot get SMTP on the same. I think we need your expertise!
@microsoftbeyond
@microsoftbeyond Год назад
How can I help you?
@AshwinCodes
@AshwinCodes 2 месяца назад
Does microsoft charge for this service or is it free?
@microsoftbeyond
@microsoftbeyond 2 месяца назад
It's free
@user-hv5pk7jr9h
@user-hv5pk7jr9h 6 месяцев назад
Hi can you check why this is coming, I follow your process only . but it still getting error PS /home/d> Connect-ExchangeOnline -Organization $TenantId Connect-ExchangeOnline: A parameter cannot be found that matches parameter name 'Organization'. PS /home/d> PS /home/d> New-ServicePrincipal -AppId $AppId -ServiceId $PrincipalId -DisplayName $DisplayName New-ServicePrincipal: The term 'New-ServicePrincipal' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
@YuqeffTivi
@YuqeffTivi Год назад
Very good.
@microsoftbeyond
@microsoftbeyond Год назад
Thank you
Далее
Fixing Plastic with Staples
00:18
Просмотров 968 тыс.
Configuring SMTP Relay
20:41
Просмотров 2,2 тыс.
Office 365 IMAP OAuth With C#
7:04
Просмотров 21 тыс.
The .NET 8 Auth Changes You Must Know About!
10:27
Просмотров 141 тыс.
OAuth 2 Explained In Simple Terms
4:32
Просмотров 398 тыс.