0 votes

Hello, we've begun testing office 365. Our servers are required to use a proxy for all connections to the outside world and I'm not sure how to configure Adaxes to use one for o365.

The Adaxes Service is configured to run as a specific domain user account. Configuring the proxy via Internet Properties from control panel while logged in as that domain user account, doesn't seem to help at all.

Any idea how we configure adaxes to use a proxy? We're currently using 2014.1.

Thanks.

by (350 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

Yes, it is possible. Adaxes uses the Azure AD Module for Windows PowerShell to connect to Office 365. Thus, you need to configure the module to connect to Office 365 via your proxy. To do this:

  1. Open folder C:\Windows\System32\WindowsPowerShell\v1.0\Modules\MSOnline.

  2. Create a file with the Config extension, for example, PowerShellModule.Config.

  3. Open the file in a text editor, e.g. notepad.exe.

  4. Paste the following text. This will force the module to use the default proxy settings configured under Control Panel \ All Control Panel items \ Internet Options.

     <?xml version="1.0" encoding="utf-8"?>
    
     <configuration>
     <configSections>
       <sectionGroup name="proxyGroup">
         <section name="basicProxy"
                  type="Proxy.Configuration.CustomProxySection, Proxy" />
       </sectionGroup>
     </configSections>
    
     <system.net>
       <defaultProxy enabled="true" useDefaultCredentials="true">
         <module type="Proxy.CustomProxy, Proxy"/>
       </defaultProxy>
     </system.net>
    
     <proxyGroup>   
       <basicProxy proxyHostAddress="Auto"/>
     </proxyGroup>
     </configuration>
    
  5. If you want to use a custom proxy that is different from your Internet settings, you'll need to customize the proxy settings via the system.net\defaultProxy element of the file. See the following MSDN article for information on how to do that: https://msdn.microsoft.com/en-us/librar ... 10%29.aspx.

  6. When done, save the file.

  7. Restart Softerra Adaxes Service.

Related questions

0 votes
1 answer

I have a need to have a remote server run Adaxes PowerShell commands, but I keep getting "No Adaxes services found on &lt;servername&gt;." I've tried targeting the Adaxes ... with -AdaxesService localhost, it works fine. How do I get it to work remotely?

asked Jul 16 by jmatthews (190 points)
0 votes
1 answer

We have several Office 365 groups where the someone is an Owner but not a Member, and we'd like to give them the ability through the web interface to give them the ability ... option in the web interface to allow them to add or remove users via a custom task?

asked Nov 1, 2023 by PaulO (20 points)
0 votes
0 answers

Hi I'm trying to configure Azure SSO to work through an app proxy. The settings seem to be correct and the SSO is working properly when a user in on premise, but when ... which can be resolved, or would it be something for a future release? Many thanks Matt

asked Sep 25, 2023 by chappers77 (2.0k points)
0 votes
1 answer

Hi When reading the REST API documentation it does not mention working directly against Azure AD and Exchange Online. Will this be added? Thanks /Peter Sonander

asked Jan 26, 2023 by Sonander (40 points)
0 votes
1 answer

Greetings. When I create the parameters to make a business rule that looks for users whose Email Proxy Adresses does not contain 'SMTP:%userPrincipalName%', it still generates profiles ... and primary SMTP address don't match. Version is 2023 How rule is set

asked Dec 19, 2022 by MShep (80 points)
3,550 questions
3,241 answers
8,235 comments
547,827 users