tag:blogger.com,1999:blog-2228947945609574437.post3916419739497399851..comments2024-03-17T16:23:31.499-04:00Comments on Terence Luk: Configuring App-only authentication with certificates for unattended scripts with EXO V2 moduleTerence Lukhttp://www.blogger.com/profile/02612575579652280306noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-2228947945609574437.post-43497680683405357522023-04-26T12:04:50.163-04:002023-04-26T12:04:50.163-04:00Como segunda pregunta, tengo un error de acceso re...Como segunda pregunta, tengo un error de acceso restringido cuando ejecuto el comando y no se a que se debe .<br /><br />PS C:\WINDOWS\system32> Connect-ExchangeOnline -CertificateThumbPrint "R39DC6340648BAF741A61179A077D7B7B98B2783" -AppID "dv861cc4-5984-4d56-b60c-3e79405841c4" -Organization "ins-cr.com"<br />UnAuthorized<br />At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.1.0\netFramework\ExchangeOnlineManagement.psm1:733 char:21<br />+ throw $_.Exception;<br />+ ~~~~~~~~~~~~~~~~~~<br /> + CategoryInfo : OperationStopped: (:) [], UnauthorizedAccessException<br /> + FullyQualifiedErrorId : UnAuthorizedMelvinhttps://www.blogger.com/profile/14845254790292939010noreply@blogger.comtag:blogger.com,1999:blog-2228947945609574437.post-40588570494538769462023-04-26T11:59:56.434-04:002023-04-26T11:59:56.434-04:00Hello dears,
I have a problem with step number 5 ...Hello dears,<br /><br />I have a problem with step number 5 because azure has changed the screen, does anyone know how this azure can work on the last azure page?Melvinhttps://www.blogger.com/profile/14845254790292939010noreply@blogger.comtag:blogger.com,1999:blog-2228947945609574437.post-51080209462199850642023-01-10T00:49:00.429-05:002023-01-10T00:49:00.429-05:00This is actually good to read content of this blog...This is actually good to read content of this blog. Here is another informative content for those who looking for 100% checked and useful clone website scripts, after using their services, I must say they are the best one in the business.<br /><a href="https://www.clonedaddy.com/crowdfunding-script" rel="nofollow">Crowdfunding Script</a><br />Julien Sianhttps://www.blogger.com/profile/15227033357490476559noreply@blogger.comtag:blogger.com,1999:blog-2228947945609574437.post-43650865134928345472022-09-29T17:54:00.502-04:002022-09-29T17:54:00.502-04:00Hi Terence,
I already followed other descriptions...Hi Terence,<br /><br />I already followed other descriptions to tackle this problem, but couldn't get it done. Your straightforward approach helped me to get through it. Thanks a lot for this brilliant blog post, I really appreciate it!<br /><br />Best regards<br />JensAnonymoushttps://www.blogger.com/profile/06000682858627828809noreply@blogger.comtag:blogger.com,1999:blog-2228947945609574437.post-57739761408140100932022-05-19T14:32:01.165-04:002022-05-19T14:32:01.165-04:00Hi there,
For the cert, we have a certificate au...Hi there, <br /><br />For the cert, we have a certificate authority. I wonder, do you have any experience with generating a cert through a CA for this? I tried to follow your instructions to create a self signed cert & mimic it by creating a server authentication request, download the cer file from the CA, export a pfx with key exportable (with just a password no users selected & with just users selected) but can't seem to get this to work.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2228947945609574437.post-45091073753637442342022-05-12T05:48:50.211-04:002022-05-12T05:48:50.211-04:00Anand,
Some of the cmdlets in the current general ...Anand,<br />Some of the cmdlets in the current general version of exo module v2 (2.0.5) still rely on basic auth. Install the latest prerelease version from PSGallery 2.0.6 and this should be resolved.<br />Regards<br />AdamAdamnoreply@blogger.comtag:blogger.com,1999:blog-2228947945609574437.post-7499775075629184452022-02-08T01:53:37.274-05:002022-02-08T01:53:37.274-05:00Hi Terence,
Thanks for this article which is save...Hi Terence,<br /><br />Thanks for this article which is saved my time and given the detailed explanation.<br />Really appreciated.<br /><br />When I was tried to connect EXO by using below command, it's throwing the below error:<br />Connect-ExchangeOnline -CertificateThumbPrint "MyCertThumbprint" -AppID "b6925809-be8c-441b-8915-1bbcc2f2b6fc" -Organization "mydomain.onmicrosoft.com"<br /><br />Error as : New-ExoPSSession : Create Powershell Session is failed using OAuth<br />At C:\Program<br />Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\2.0.5\netFramework\ExchangeOnlineManagement.psm1:475 char:30<br />+ ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ...<br />+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br /> + CategoryInfo : NotSpecified: (:) [New-ExoPSSession], Exception<br /> + FullyQualifiedErrorId : System.Exception,Microsoft.Exchange.Management.ExoPowershellSnapin.NewExoPSSession<br /><br /><br />FYI in my laptop BASIC AUTHENTICATION IS DISABLED.<br /><br />But when I enabled the BASIC AUTHENTICATION above commands runs fine.<br />My requirement is to automate the custom scripts by using this command which is not meeting my requirement. My company has GPO which is forcefully disabled the BASIC AUth but am doing manually by enabling the BASIC Auth whenever I want to run the script manually & after sometime it's get disabled.<br /><br /><br /><br />Please can you shed some light on it.<br /><br />Regards<br />Anand Sunka<br />Anand Sunkanoreply@blogger.com