Month: June 2024
Any Year Calendar with Public Holidays Template
Can anyone help, I think the “Any Year Calendar with Public Holidays” template is great, but I want to add a start date and end date to the holiday dates as some that I want to add are more than one day long. Any thoughts on how I do this?
Can anyone help, I think the “Any Year Calendar with Public Holidays” template is great, but I want to add a start date and end date to the holiday dates as some that I want to add are more than one day long. Any thoughts on how I do this? Read More
Full screen splash in .NET MAUI
I have an image , and i want to display my image to entire screen in splash .But currently my images are displaying at the center of my mobile screen , I am targetting android version upto 13.
<ItemGroup>
<MauiSplashScreen Include=”ResourcesSplashsplash.svg” />
</ItemGroup>
I have an image , and i want to display my image to entire screen in splash .But currently my images are displaying at the center of my mobile screen , I am targetting android version upto 13.<ItemGroup><MauiSplashScreen Include=”ResourcesSplashsplash.svg” /></ItemGroup> Read More
How to test out all features of Purview?
Hi,
I have already gone through What’s in the free version of Microsoft Purview governance solutions? | Microsoft Learn article and I am confused what are the features available to us with free version of Purview and how we can test out all the features of Purview exactly.
Can anybody suggest how can we test out all features of Purview and what are the specific permissions required for respective features?
Thank you!
Hi, I have already gone through What’s in the free version of Microsoft Purview governance solutions? | Microsoft Learn article and I am confused what are the features available to us with free version of Purview and how we can test out all the features of Purview exactly. Can anybody suggest how can we test out all features of Purview and what are the specific permissions required for respective features? Thank you! Read More
Excel VBA Rows(#).Calculate not working for some rows
I use Excel for complex iterative calculations that use circular references. These spreadsheets are run with the Options for Manual Calculation and Iterative Calculation on and set to 1 iteration.
To correctly calculate the iterative functionality (ie bypass Excels inheritance calculation order), I use a VBA function to calculate each row in the Worksheet from top to bottom. This used to work correctly with the following simple code:
For i = 3 to 30
Worksheets(“Calculation”).Rows(i).Calculate
Next i
But it appears that this was broken by an update with it working on simple calculations in the row, and cells with circular references are Not calculated.
I have tired using Range(“5:5”).Calculate, and even Range(“B5”).Calculate, but neither work.
A manual Calculation by pressing “F9” updates all cells, but as mentioned the execution order does not give the correct result.
I use Excel for complex iterative calculations that use circular references. These spreadsheets are run with the Options for Manual Calculation and Iterative Calculation on and set to 1 iteration. To correctly calculate the iterative functionality (ie bypass Excels inheritance calculation order), I use a VBA function to calculate each row in the Worksheet from top to bottom. This used to work correctly with the following simple code: For i = 3 to 30 Worksheets(“Calculation”).Rows(i).Calculate Next iBut it appears that this was broken by an update with it working on simple calculations in the row, and cells with circular references are Not calculated. I have tired using Range(“5:5”).Calculate, and even Range(“B5”).Calculate, but neither work.A manual Calculation by pressing “F9” updates all cells, but as mentioned the execution order does not give the correct result. Read More
The verify statement criteria/ error message is not appearing in simulink test report.
Hi,
I am using simulink test to test my model. I am using simulink test sequency block and adding verify() to assess criteria. I want verify statement and actual result to appear in simulink test report using simulink test manager. I am using label inside verify() so that simulink test manager captures that. Label is appearing . But assessment criteria and actual result is not appearing in test report. how it is possible to add verify criteria and actual result value in the test report. for example:
verify(x==y,’SimulinkTest:X_equal_Y’,’actual result = %d, %d’x,y);
and then what appears in the report is below image which does not tell much about the test.
what I want to appear is below text:
x==y , SimulinkTest:X_equal_Y , Actual result= 3,5
no verify statement nor the error message appear in the report. It is really frustating that it does not appear in the report.
Thanks,
SomdutHi,
I am using simulink test to test my model. I am using simulink test sequency block and adding verify() to assess criteria. I want verify statement and actual result to appear in simulink test report using simulink test manager. I am using label inside verify() so that simulink test manager captures that. Label is appearing . But assessment criteria and actual result is not appearing in test report. how it is possible to add verify criteria and actual result value in the test report. for example:
verify(x==y,’SimulinkTest:X_equal_Y’,’actual result = %d, %d’x,y);
and then what appears in the report is below image which does not tell much about the test.
what I want to appear is below text:
x==y , SimulinkTest:X_equal_Y , Actual result= 3,5
no verify statement nor the error message appear in the report. It is really frustating that it does not appear in the report.
Thanks,
Somdut Hi,
I am using simulink test to test my model. I am using simulink test sequency block and adding verify() to assess criteria. I want verify statement and actual result to appear in simulink test report using simulink test manager. I am using label inside verify() so that simulink test manager captures that. Label is appearing . But assessment criteria and actual result is not appearing in test report. how it is possible to add verify criteria and actual result value in the test report. for example:
verify(x==y,’SimulinkTest:X_equal_Y’,’actual result = %d, %d’x,y);
and then what appears in the report is below image which does not tell much about the test.
what I want to appear is below text:
x==y , SimulinkTest:X_equal_Y , Actual result= 3,5
no verify statement nor the error message appear in the report. It is really frustating that it does not appear in the report.
Thanks,
Somdut simulink test, simulink report, simulink test manager, verify, test sequence MATLAB Answers — New Questions
App Designer – elements in radio button group change position on opening app designer
I have an app that has a radio button group that is added to a grid layout. Every time I open App Designer, the buttons (and text) within the radio button group change position. More specifically, the buttons shift down (the bottom value for each button decreases by 4).
This isn’t necessarily an error, but it’s driving me nuts because the buttons shift down and eventually I have to manually move them back up after a couple days. I’m not sure if it’s the way App Designer is initializing or if this is some kind of setting I need to change in MATLAB. It seems like App Designer is running some auto-formatting routine at the end of initialization because after opening up App Designer I see that it has made changes (via the *) without me touching anything.
More details:
App Designer opens on my main laptop screen (1920×1200)
This happens regardless of whether I move the App Designer instance to a different screen or not
I’ve tried changing some of the radio button group properties, but nothing seems to fix the issue.I have an app that has a radio button group that is added to a grid layout. Every time I open App Designer, the buttons (and text) within the radio button group change position. More specifically, the buttons shift down (the bottom value for each button decreases by 4).
This isn’t necessarily an error, but it’s driving me nuts because the buttons shift down and eventually I have to manually move them back up after a couple days. I’m not sure if it’s the way App Designer is initializing or if this is some kind of setting I need to change in MATLAB. It seems like App Designer is running some auto-formatting routine at the end of initialization because after opening up App Designer I see that it has made changes (via the *) without me touching anything.
More details:
App Designer opens on my main laptop screen (1920×1200)
This happens regardless of whether I move the App Designer instance to a different screen or not
I’ve tried changing some of the radio button group properties, but nothing seems to fix the issue. I have an app that has a radio button group that is added to a grid layout. Every time I open App Designer, the buttons (and text) within the radio button group change position. More specifically, the buttons shift down (the bottom value for each button decreases by 4).
This isn’t necessarily an error, but it’s driving me nuts because the buttons shift down and eventually I have to manually move them back up after a couple days. I’m not sure if it’s the way App Designer is initializing or if this is some kind of setting I need to change in MATLAB. It seems like App Designer is running some auto-formatting routine at the end of initialization because after opening up App Designer I see that it has made changes (via the *) without me touching anything.
More details:
App Designer opens on my main laptop screen (1920×1200)
This happens regardless of whether I move the App Designer instance to a different screen or not
I’ve tried changing some of the radio button group properties, but nothing seems to fix the issue. radio-button-group, appdesigner MATLAB Answers — New Questions
Issues with Screen Sharing Hololens 2
Dear community,
I am seeking assistance with an issue I am experiencing while trying to share the screen from my Hololens 2 to a Smart TV. Currently, I am using the Windows Device Portal on the Hololens to share the user’s view to a Smart TV via its browser. To do this, I simply enter the IP address of the glasses into the TV’s browser and log into the portal. Both devices are connected to the same network.
The issue arises when I start the transmission. Initially, the quality and connection are perfect. However, after a short period of use (around 2 to 3 minutes) or when I open any training from Guides, the connection deteriorates and I begin to have problems viewing my experience on the TV, even though the Hololens 2 does not appear to have frozen.
I am wondering what could be the solution to this problem. Could the issue be with the Hololens 2 itself?
As a side note, to test the connection and rule out the possibility of it being an issue with my internet, I transmitted my mobile phone to the TV and spent a considerable amount of time testing distances and various applications. This worked perfectly.
Any help or suggestions would be greatly appreciated.
Best regards.
Dear community,I am seeking assistance with an issue I am experiencing while trying to share the screen from my Hololens 2 to a Smart TV. Currently, I am using the Windows Device Portal on the Hololens to share the user’s view to a Smart TV via its browser. To do this, I simply enter the IP address of the glasses into the TV’s browser and log into the portal. Both devices are connected to the same network.The issue arises when I start the transmission. Initially, the quality and connection are perfect. However, after a short period of use (around 2 to 3 minutes) or when I open any training from Guides, the connection deteriorates and I begin to have problems viewing my experience on the TV, even though the Hololens 2 does not appear to have frozen.I am wondering what could be the solution to this problem. Could the issue be with the Hololens 2 itself?As a side note, to test the connection and rule out the possibility of it being an issue with my internet, I transmitted my mobile phone to the TV and spent a considerable amount of time testing distances and various applications. This worked perfectly.Any help or suggestions would be greatly appreciated.Best regards. Read More
Special type of chart: arrows give the change
Hello,
Anyone an idea how to do this with the arrows?
Thank you,
Hello, Anyone an idea how to do this with the arrows? Thank you, Read More
Language output
I have recently experienced that Copilot returns in a different language than I write in. For example, if I write in Danish, it returns in Norwegian or German. Does anybody know why?
I have recently experienced that Copilot returns in a different language than I write in. For example, if I write in Danish, it returns in Norwegian or German. Does anybody know why? Read More
Synchronizing Global Address List (GAL) with Address Books on User Smartphones in a Tenant
Hello,
I have a question regarding the synchronization of the Global Address List (GAL) from Exchange with the address book on user smartphones within the context of a tenant, not a private account. Is there a possibility to make the general GAL of a tenant synchronize with the address books of users on their phones? I would like the data from Exchange, such as phone numbers, to automatically download to the user’s phone book.
I understand that you can configure an Exchange account on a mobile device, which will allow access to the GAL through the mail app on the phone. However, I would like this information to be available directly in the phone’s address book, not just in the mail app.
Is this achievable? If so, what are the steps I need to take to accomplish this?
I would appreciate any suggestions and advice.
Hello,I have a question regarding the synchronization of the Global Address List (GAL) from Exchange with the address book on user smartphones within the context of a tenant, not a private account. Is there a possibility to make the general GAL of a tenant synchronize with the address books of users on their phones? I would like the data from Exchange, such as phone numbers, to automatically download to the user’s phone book.I understand that you can configure an Exchange account on a mobile device, which will allow access to the GAL through the mail app on the phone. However, I would like this information to be available directly in the phone’s address book, not just in the mail app.Is this achievable? If so, what are the steps I need to take to accomplish this? I would appreciate any suggestions and advice. Read More
App Service health checks as KQL
I have health check endpoints on each of my APIs and can see the result timeline via the portal.
What I would like to do is to have a query so that I can have visualize this across multiple APIs and present these via a honeycomb diagram, but I’m struggling as to what I should query for.
I have health check endpoints on each of my APIs and can see the result timeline via the portal. What I would like to do is to have a query so that I can have visualize this across multiple APIs and present these via a honeycomb diagram, but I’m struggling as to what I should query for. Read More
Edge Open Link As Different Profile
I am using Edge Version 125.0.2535.92
I’ve got two work profiles setup, both connected to Azure.
Profile A
Profile B
When viewing a website in Profile A, I would like the option to right click on a link and > Open as Profile B.
I’m pretty sure I seen this option in Edge previously, but it has disappeared. I’m not sure if I need to enable a setting?
I am using Edge Version 125.0.2535.92 I’ve got two work profiles setup, both connected to Azure. Profile AProfile B When viewing a website in Profile A, I would like the option to right click on a link and > Open as Profile B. I’m pretty sure I seen this option in Edge previously, but it has disappeared. I’m not sure if I need to enable a setting? Read More
Learn about Aptitude’s ISV Success for Business Application Solution in Microsoft AppSource
Microsoft ISV Success for Business Applications offers platforms, resources, and support designed to help partners develop, publish, and market business apps. Learn more about an offer from Aptitude on Microsoft AppSource:
Aptitude Fynapse for Dynamics 365 Finance: This next generation platform for CFOs and finance departments drives continuous compliance by providing full automation of finance and accounting processes while delivering real-time business insights. Its modular approach can be implemented faster and at a much lower cost than traditional solutions.
Microsoft Tech Community – Latest Blogs –Read More
I’m a fresher here who has just finished the matlab onramp course but unable is stuck at the practise problem.
Question:Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you need to put frosting on (all around the sides and the top).And this is my answer:
function SA = func_frosting(r, h)
SA = (pi * r * r) + (2 * pi * r * h);
end
radius = 5;
height = 10;
surfaceArea = func_frosting(radius, height);
disp([‘The surface area of the cake is ‘, num2str(surfaceArea), ]);
But it just passes one of the four code test.Please help.Question:Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you need to put frosting on (all around the sides and the top).And this is my answer:
function SA = func_frosting(r, h)
SA = (pi * r * r) + (2 * pi * r * h);
end
radius = 5;
height = 10;
surfaceArea = func_frosting(radius, height);
disp([‘The surface area of the cake is ‘, num2str(surfaceArea), ]);
But it just passes one of the four code test.Please help. Question:Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you need to put frosting on (all around the sides and the top).And this is my answer:
function SA = func_frosting(r, h)
SA = (pi * r * r) + (2 * pi * r * h);
end
radius = 5;
height = 10;
surfaceArea = func_frosting(radius, height);
disp([‘The surface area of the cake is ‘, num2str(surfaceArea), ]);
But it just passes one of the four code test.Please help. function, code test, failed MATLAB Answers — New Questions
How to make a geometry transparent?
Hello brothers. I have a geometry and I want to make it transparent as some entities are disappeared. I have used the following commond but no results. Thank you.
gm=mphgeom(model)
mphviewselection(model,gm, ‘facealpha’, 0.5)Hello brothers. I have a geometry and I want to make it transparent as some entities are disappeared. I have used the following commond but no results. Thank you.
gm=mphgeom(model)
mphviewselection(model,gm, ‘facealpha’, 0.5) Hello brothers. I have a geometry and I want to make it transparent as some entities are disappeared. I have used the following commond but no results. Thank you.
gm=mphgeom(model)
mphviewselection(model,gm, ‘facealpha’, 0.5) transaparency, matlab MATLAB Answers — New Questions
adalm pluto receive example error
I am using 2023a matlab, when trying to run the adalm pluto receive simulink example i get this error:
I don’t really understand what is causing this, if i remember correctly i did run it succesfull a few days ago.I am using 2023a matlab, when trying to run the adalm pluto receive simulink example i get this error:
I don’t really understand what is causing this, if i remember correctly i did run it succesfull a few days ago. I am using 2023a matlab, when trying to run the adalm pluto receive simulink example i get this error:
I don’t really understand what is causing this, if i remember correctly i did run it succesfull a few days ago. error, adalm-pluto, example MATLAB Answers — New Questions
Activation on Linux – MathWorksProductAuthorizer crashes
Have any of you experienced the activation program MathWorksProductAuthorizer crashing on Ubuntu 22.04? I cannot reproduce it on all Ubuntu 22.04 machines, and cannot identify what triggers the crash on that specifific Ubuntu 22.04 workstation either.
The error message is:
The feature at URL:
https://127.0.0.1:31515/ui/install/product_installer_ui/index.html?applicationName=productauthorizer&snc=RT7PDK
has crashed and will exit
The exit status was: TS_ABNORMAL_TERMINATIONHave any of you experienced the activation program MathWorksProductAuthorizer crashing on Ubuntu 22.04? I cannot reproduce it on all Ubuntu 22.04 machines, and cannot identify what triggers the crash on that specifific Ubuntu 22.04 workstation either.
The error message is:
The feature at URL:
https://127.0.0.1:31515/ui/install/product_installer_ui/index.html?applicationName=productauthorizer&snc=RT7PDK
has crashed and will exit
The exit status was: TS_ABNORMAL_TERMINATION Have any of you experienced the activation program MathWorksProductAuthorizer crashing on Ubuntu 22.04? I cannot reproduce it on all Ubuntu 22.04 machines, and cannot identify what triggers the crash on that specifific Ubuntu 22.04 workstation either.
The error message is:
The feature at URL:
https://127.0.0.1:31515/ui/install/product_installer_ui/index.html?applicationName=productauthorizer&snc=RT7PDK
has crashed and will exit
The exit status was: TS_ABNORMAL_TERMINATION activate, linux MATLAB Answers — New Questions
Parsing a Sentinel Alert through Logic App
Hi.
I’m struggling with configuring a Logic App to be ran when a Sentinel alert is triggered.
More specifically the details of the Sentinel alert being printed out via the Logic App.
The query the alert runs is:
AuditLogs
| where TimeGenerated > ago(1h)
| where OperationName contains “Add member to group”
| where parse_json(tostring(parse_json(tostring(TargetResources[0].modifiedProperties))[1].newValue)) contains “Fabric-RG”
| extend InitiatingUser = tostring(parse_json(tostring(InitiatedBy.user)).userPrincipalName)
| extend TargetUser = tostring(TargetResources[0].userPrincipalName)
| extend GroupName = tostring(parse_json(tostring(parse_json(tostring(TargetResources[0].modifiedProperties))[1].newValue)))
| project TimeGenerated, OperationName, InitiatingUser, TargetUser, GroupName
This pulls up any changes (member additions) to a group with “Fabric-RG” in its name.
When running this query alone, it returns the info:
Now the info that returns in the Logic App is different, it’s currently setup to print out entity friendly names, and I was wondering if anyone could help me configure it so it prints out the initiating user, target user and target group as the per the query does? I am unsure how to select those specific entities created within the query.
Any advice on this would be greatly appreciated.
Thank you.
Hi.I’m struggling with configuring a Logic App to be ran when a Sentinel alert is triggered.More specifically the details of the Sentinel alert being printed out via the Logic App.The query the alert runs is: AuditLogs
| where TimeGenerated > ago(1h)
| where OperationName contains “Add member to group”
| where parse_json(tostring(parse_json(tostring(TargetResources[0].modifiedProperties))[1].newValue)) contains “Fabric-RG”
| extend InitiatingUser = tostring(parse_json(tostring(InitiatedBy.user)).userPrincipalName)
| extend TargetUser = tostring(TargetResources[0].userPrincipalName)
| extend GroupName = tostring(parse_json(tostring(parse_json(tostring(TargetResources[0].modifiedProperties))[1].newValue)))
| project TimeGenerated, OperationName, InitiatingUser, TargetUser, GroupName This pulls up any changes (member additions) to a group with “Fabric-RG” in its name.When running this query alone, it returns the info:Now the info that returns in the Logic App is different, it’s currently setup to print out entity friendly names, and I was wondering if anyone could help me configure it so it prints out the initiating user, target user and target group as the per the query does? I am unsure how to select those specific entities created within the query.Any advice on this would be greatly appreciated.Thank you. Read More
C# application with MIP SDK fails creating the FileEngine
Hi!
I have a C# application which tries to create a FileEngine to unprotect AIP protected files.
The application runs in Azure. Network connectivity is available.
The MIP SDK logs look like this:
Info 2024-06-05 11:49:15.652 common/api_utils.h:195 w3wp (6324) “Start calling success callback for API: protection_profile_load_async” mipns::TryExecuteSuccessCallback::<lambda_aa4c0887fcc47f487d59891ccfa0eff4>::operator () 5396
Info 2024-06-05 11:49:15.652 common/api_utils.h:197 w3wp (6324) “Ended calling success callback for API: protection_profile_load_async” mipns::TryExecuteSuccessCallback::<lambda_aa4c0887fcc47f487d59891ccfa0eff4>::operator () 5396
Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:522 w3wp (6324) “Starting API call: profile_add_engine_async scenarioId=55a8c9cb-bbe6-40bb-992f-10b54066f182” mipns::ProfileImpl::AddEngineAsync 1048
Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:522 w3wp (6324) “Ended API call: profile_add_engine_async” mipns::ProfileImpl::AddEngineAsync 1048
Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:522 w3wp (6324) “Starting API task: profile_add_engine_async” mipns::ProfileImpl::AddEngineAsync 1700
Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:522 w3wp (6324) “Starting API task: profile_add_engine_async scenarioId=55a8c9cb-bbe6-40bb-992f-10b54066f182” mipns::ProfileImpl::AddEngineAsync 1700
Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:244 w3wp (6324) “Starting to add policy engine with engine id: 09342290-3990-4ef9-bdeb-611113bcccee” `anonymous-namespace’::CreateEngineAsync 1700
Warning 2024-06-05 11:49:15.652 policy_engine_manager_impl.cpp:275 w3wp (6324) “Inconsistent label & sensitivity policy detected. Removing both from cache if it exists.” mipns::PolicyEngineManagerImpl::DeletePolicyFromStorage 1700
Info 2024-06-05 11:49:15.652 policy_engine_manager_impl.cpp:358 w3wp (6324) “Loading new policy engine (requires fetch): 09342290-3990-4ef9-bdeb-611113bcccee” mipns::PolicyEngineManagerImpl::LoadNewEngineAsync 1700
Warning 2024-06-05 11:49:15.652 policy_engine_manager_impl.cpp:361 w3wp (6324) “New PolicyEngine was created without an identity. Dynamic content marking will be partially disabled, and URL redirect caching will be fully disabled.” mipns::PolicyEngineManagerImpl::LoadNewEngineAsync 1700
Info 2024-06-05 11:49:15.652 auth_request_transformer.cpp:155 w3wp (6324) “Requesting auth token from app. Resource: ‘https://syncservice.o365syncservice.com/‘, Authority: ‘https://login.windows.net/common‘, Scope: ”, Claims: ”” mipns::AuthRequestTransformer::GetAuthToken 1700
Info 2024-06-05 11:49:15.917 auth_request_transformer.cpp:169 w3wp (6324) “Authentication response time (seconds): 0.264937” mipns::AuthRequestTransformer::GetAuthToken 1700
Info 2024-06-05 11:49:15.932 http_director_impl.cpp:141 w3wp (6324) “Sending HTTP request: ID: {C3D930DE-50B3-40A8-8C44-0ED22007A6FB}, Type: GET, Url: https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies?supportedMaxVersion=1.0.50.0, Body Size: 0, Headers[‘ClientInfo’] = ‘mip_ver=1.14.128;os_name=win;os_ver=10-0-20348;runtime=msvc-1929;arch=x86’, Headers[‘Capabilities’] = ‘BestEffortEntityMatch,BestEffortCCSIMatch,SchematizedDataContentType’, Headers[‘Content-Type’] = ‘application/xml;charset=utf-8’, Headers[‘Authorization’] = ‘UOID:2d3ea670-a6d7-4a66-85fe-0bcc9b5f563a;Tenant:tenant id;Audience:https://syncservice.o365syncservice.com/;Roles:UnifiedPolicy.Tenant.Read;” mipns::HttpDirectorImpl::DoSendHttp 1700
Info 2024-06-05 11:49:16.104 http_client_base.cpp:44 w3wp (6324) “HTTP response time (seconds): 0.185885 ID: {C3D930DE-50B3-40A8-8C44-0ED22007A6FB}” mipns::HttpClientBase::SendAsync::<lambda_b2b0e837acbc3dca3dadb2856c35cf30>::operator () 5756
Info 2024-06-05 11:49:16.120 oneds_helper.cpp:532 w3wp (6324) “OneDsHelper::WriteTelemetryEvent(policy_sync_acquire_policy)” mipns::OneDSHelper::WriteTelemetryEvent 5756
Info 2024-06-05 11:49:16.120 diagnostic_utils.cpp:80 w3wp (6324) “Send Telemetry. Event Name : [policy_sync_acquire_policy]
App.ApplicationId: [application id], Pii: [None]
App.ApplicationName: [AR_COSI_TEST_AIP], Pii: [None]
App.ApplicationVersion: [1.0.0], Pii: [None]
App.SessionId: [], Pii: [None]
Engine.SessionId: [], Pii: [None]
Event.CorrelationId: [3f4d9f3a-a5a1-40fc-bbdb-049f4d40889f], Pii: [None]
Event.CorrelationIdDescription: [HttpDirector], Pii: [None]
Event.Duration: [0.187074], Pii: [None]
Event.ErrorType: [NetworkError], Pii: [None]
Event.Failed.File: [srccoreapi_implhttphttp_director_impl.cpp], Pii: [None]
Event.Failed.Func: [mipns::HttpTelemetryHelper::NotifyOperationComplete], Pii: [None]
Event.Failed.Line: [374], Pii: [None]
Event.Failed.Message: [No HTTP response. Failed with: [NetworkError: ‘HTTP connection failure Inner exception: [http_exception: ‘WinHttpSendRequest: 12029: A connection with the server could not be established’], NetworkError.Category=NoConnection, HttpRequest.SanitizedUrl=https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies, HttpRequest.Id={C3D930DE-50B3-40A8-8C44-0ED22007A6FB}’]], Pii: [None]
Event.ParentCorrelationId: [948d1c35-91a9-47be-af1f-6d6a241125e5], Pii: [None]
Event.ParentCorrelationIdDescription: [PolicyProfile], Pii: [None]
Event.UniqueId: [eacab4b6-2048-4cf0-8d5c-cba215bcb6a0], Pii: [None]
EventInfo.Level: [10], Pii: [None]
EventInfo.PrivTags: [33554432], Pii: [None]
MIP.Version: [1.14.128], Pii: [None]
Request.CorrelationId: [{C3D930DE-50B3-40A8-8C44-0ED22007A6FB}], Pii: [None]
Request.IsAsynchronous: [true], Pii: [None]
Request.RequestBodySize: [0], Pii: [None]
Request.TokenTenantId: [tenant id], Pii: [None]
Request.Url: [https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies], Pii: [None]
iKey: [ce9aa5fb5a414ecebb15af10715bd8ff-831d197e-fc97-4df6-b998-c8c13a0fc3ce-6768], Pii: [None]
” mipns::WriteTelemetryEventToLog 5756
Info 2024-06-05 11:49:16.120 http_director_impl.cpp:38 w3wp (6324) “Received HTTP response: ” `anonymous-namespace’::LogHttpOperationDetails 5756
Error 2024-06-05 11:49:16.120 http_director_impl.cpp:42 w3wp (6324) “HTTP operation {C3D930DE-50B3-40A8-8C44-0ED22007A6FB} failed: Failed with: [NetworkError: ‘HTTP connection failure Inner exception: [http_exception: ‘WinHttpSendRequest: 12029: A connection with the server could not be established’], NetworkError.Category=NoConnection, HttpRequest.SanitizedUrl=https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies, HttpRequest.Id={C3D930DE-50B3-40A8-8C44-0ED22007A6FB}’]” `anonymous-namespace’::LogHttpOperationDetails 5756
This error does not occur on every tenant!
Does anyone have a clue why this error occurs?
Hi!I have a C# application which tries to create a FileEngine to unprotect AIP protected files.The application runs in Azure. Network connectivity is available.The MIP SDK logs look like this:Info 2024-06-05 11:49:15.652 common/api_utils.h:195 w3wp (6324) “Start calling success callback for API: protection_profile_load_async” mipns::TryExecuteSuccessCallback::<lambda_aa4c0887fcc47f487d59891ccfa0eff4>::operator () 5396Info 2024-06-05 11:49:15.652 common/api_utils.h:197 w3wp (6324) “Ended calling success callback for API: protection_profile_load_async” mipns::TryExecuteSuccessCallback::<lambda_aa4c0887fcc47f487d59891ccfa0eff4>::operator () 5396Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:522 w3wp (6324) “Starting API call: profile_add_engine_async scenarioId=55a8c9cb-bbe6-40bb-992f-10b54066f182” mipns::ProfileImpl::AddEngineAsync 1048Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:522 w3wp (6324) “Ended API call: profile_add_engine_async” mipns::ProfileImpl::AddEngineAsync 1048Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:522 w3wp (6324) “Starting API task: profile_add_engine_async” mipns::ProfileImpl::AddEngineAsync 1700Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:522 w3wp (6324) “Starting API task: profile_add_engine_async scenarioId=55a8c9cb-bbe6-40bb-992f-10b54066f182” mipns::ProfileImpl::AddEngineAsync 1700Info 2024-06-05 11:49:15.652 policy_profile_impl.cpp:244 w3wp (6324) “Starting to add policy engine with engine id: 09342290-3990-4ef9-bdeb-611113bcccee” `anonymous-namespace’::CreateEngineAsync 1700Warning 2024-06-05 11:49:15.652 policy_engine_manager_impl.cpp:275 w3wp (6324) “Inconsistent label & sensitivity policy detected. Removing both from cache if it exists.” mipns::PolicyEngineManagerImpl::DeletePolicyFromStorage 1700Info 2024-06-05 11:49:15.652 policy_engine_manager_impl.cpp:358 w3wp (6324) “Loading new policy engine (requires fetch): 09342290-3990-4ef9-bdeb-611113bcccee” mipns::PolicyEngineManagerImpl::LoadNewEngineAsync 1700Warning 2024-06-05 11:49:15.652 policy_engine_manager_impl.cpp:361 w3wp (6324) “New PolicyEngine was created without an identity. Dynamic content marking will be partially disabled, and URL redirect caching will be fully disabled.” mipns::PolicyEngineManagerImpl::LoadNewEngineAsync 1700Info 2024-06-05 11:49:15.652 auth_request_transformer.cpp:155 w3wp (6324) “Requesting auth token from app. Resource: ‘https://syncservice.o365syncservice.com/’, Authority: ‘https://login.windows.net/common’, Scope: ”, Claims: ”” mipns::AuthRequestTransformer::GetAuthToken 1700Info 2024-06-05 11:49:15.917 auth_request_transformer.cpp:169 w3wp (6324) “Authentication response time (seconds): 0.264937” mipns::AuthRequestTransformer::GetAuthToken 1700Info 2024-06-05 11:49:15.932 http_director_impl.cpp:141 w3wp (6324) “Sending HTTP request: ID: {C3D930DE-50B3-40A8-8C44-0ED22007A6FB}, Type: GET, Url: https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies?supportedMaxVersion=1.0.50.0, Body Size: 0, Headers[‘ClientInfo’] = ‘mip_ver=1.14.128;os_name=win;os_ver=10-0-20348;runtime=msvc-1929;arch=x86’, Headers[‘Capabilities’] = ‘BestEffortEntityMatch,BestEffortCCSIMatch,SchematizedDataContentType’, Headers[‘Content-Type’] = ‘application/xml;charset=utf-8’, Headers[‘Authorization’] = ‘UOID:2d3ea670-a6d7-4a66-85fe-0bcc9b5f563a;Tenant:tenant id;Audience:https://syncservice.o365syncservice.com/;Roles:UnifiedPolicy.Tenant.Read;” mipns::HttpDirectorImpl::DoSendHttp 1700Info 2024-06-05 11:49:16.104 http_client_base.cpp:44 w3wp (6324) “HTTP response time (seconds): 0.185885 ID: {C3D930DE-50B3-40A8-8C44-0ED22007A6FB}” mipns::HttpClientBase::SendAsync::<lambda_b2b0e837acbc3dca3dadb2856c35cf30>::operator () 5756Info 2024-06-05 11:49:16.120 oneds_helper.cpp:532 w3wp (6324) “OneDsHelper::WriteTelemetryEvent(policy_sync_acquire_policy)” mipns::OneDSHelper::WriteTelemetryEvent 5756Info 2024-06-05 11:49:16.120 diagnostic_utils.cpp:80 w3wp (6324) “Send Telemetry. Event Name : [policy_sync_acquire_policy]App.ApplicationId: [application id], Pii: [None]App.ApplicationName: [AR_COSI_TEST_AIP], Pii: [None]App.ApplicationVersion: [1.0.0], Pii: [None]App.SessionId: [], Pii: [None]Engine.SessionId: [], Pii: [None]Event.CorrelationId: [3f4d9f3a-a5a1-40fc-bbdb-049f4d40889f], Pii: [None]Event.CorrelationIdDescription: [HttpDirector], Pii: [None]Event.Duration: [0.187074], Pii: [None]Event.ErrorType: [NetworkError], Pii: [None]Event.Failed.File: [srccoreapi_implhttphttp_director_impl.cpp], Pii: [None]Event.Failed.Func: [mipns::HttpTelemetryHelper::NotifyOperationComplete], Pii: [None]Event.Failed.Line: [374], Pii: [None]Event.Failed.Message: [No HTTP response. Failed with: [NetworkError: ‘HTTP connection failure Inner exception: [http_exception: ‘WinHttpSendRequest: 12029: A connection with the server could not be established’], NetworkError.Category=NoConnection, HttpRequest.SanitizedUrl=https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies, HttpRequest.Id={C3D930DE-50B3-40A8-8C44-0ED22007A6FB}’]], Pii: [None]Event.ParentCorrelationId: [948d1c35-91a9-47be-af1f-6d6a241125e5], Pii: [None]Event.ParentCorrelationIdDescription: [PolicyProfile], Pii: [None]Event.UniqueId: [eacab4b6-2048-4cf0-8d5c-cba215bcb6a0], Pii: [None]EventInfo.Level: [10], Pii: [None]EventInfo.PrivTags: [33554432], Pii: [None]MIP.Version: [1.14.128], Pii: [None]Request.CorrelationId: [{C3D930DE-50B3-40A8-8C44-0ED22007A6FB}], Pii: [None]Request.IsAsynchronous: [true], Pii: [None]Request.RequestBodySize: [0], Pii: [None]Request.TokenTenantId: [tenant id], Pii: [None]Request.Url: [https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies], Pii: [None]iKey: [ce9aa5fb5a414ecebb15af10715bd8ff-831d197e-fc97-4df6-b998-c8c13a0fc3ce-6768], Pii: [None]” mipns::WriteTelemetryEventToLog 5756Info 2024-06-05 11:49:16.120 http_director_impl.cpp:38 w3wp (6324) “Received HTTP response: ” `anonymous-namespace’::LogHttpOperationDetails 5756Error 2024-06-05 11:49:16.120 http_director_impl.cpp:42 w3wp (6324) “HTTP operation {C3D930DE-50B3-40A8-8C44-0ED22007A6FB} failed: Failed with: [NetworkError: ‘HTTP connection failure Inner exception: [http_exception: ‘WinHttpSendRequest: 12029: A connection with the server could not be established’], NetworkError.Category=NoConnection, HttpRequest.SanitizedUrl=https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies, HttpRequest.Id={C3D930DE-50B3-40A8-8C44-0ED22007A6FB}’]” `anonymous-namespace’::LogHttpOperationDetails 5756This error does not occur on every tenant!Does anyone have a clue why this error occurs? Read More