Is there any option or configuration in MIP SDK APIs to resolve the microsoft URL *.protection.outlook.com with configured proxy ?

Sumit Kumar 0 Reputation points
2024-06-28T10:31:12.78+00:00

Hi,

We built the application using mip sdk 1.12.61 version to decrypt the RMS protect files and labels.

Firewall rules and port requirements are addressed.

Azure Information Protection Firewalls and network infrastructure requirements: https://video2.skills-academy.com/en-us/azure/information-protection/requirements#firewalls-and-network-infrastructure.

Azure Information Protection Network Connectivity (ports) requirements: https://video2.skills-academy.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide#microsoft-365-common-and-office-online.

Proxy Support is added in application as mentioned in proxy concept https://video2.skills-academy.com/en-us/information-protection/develop/concept-mip-proxies

our application is linux (centos-7) based and is using http_proxy environment variable for mip sdk.

export http_proxy=http://192.168.1.1:8080

export https_proxy=https://192.168.1.1:8080

But we are seeing below errors in mip sdk logs.

Error 2024-03-26 13:55:04.152 policy_profile_impl.cpp:504 test_app (12226) "Failed API call: profile_add_engine_async Failed with: [NetworkError: 'Failed to send HTTP request with error code 'generic:1' Inner exception: [http_exception: 'Error resolving address'], NetworkError.Category=Unknown, HttpRequest.SanitizedUrl=https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies, HttpRequest.Id={4DF422BE-821F-41C6-9C97-436CDDCFEF2F}, CorrelationId=069867da-61fb-4c50-aa60-0369a9bc2531, CorrelationId.Description=PolicyProfile']" virtual std::shared_ptr

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,205 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,025 questions
{count} votes