We received Google Suite applications' App ID(s) from a local SE. Now restrictions for Google applications are in-place and it is working.
For Office 365 corporate tenant, I did a kernel debug on application module & network rule base and figured out the application ID (60342666). Replaced it with the app_id provided in SK article. And it worked. Now restrictions are working for O365 Tenant too (allows access only to specified company domain as expected).
conn: <dir 0, <src-ip>:62356 -> <dest-ip>:443 IPP 6> app found. app_sig_id = 60342666:4;
@@;34216096.2229697;11Dec2023 19:12:56.303254;[vs_0];[tid_0];[fw4_0];1:{global} appi_app_db_get_app_name: app_name "Office365"
@;34216096.2229698;11Dec2023 19:12:56.303256;[vs_0];[tid_0];[fw4_0];1:{global} appi_clobs_observer_execute_app_parameters: called, context_id = 144;
@;34216096.2229699;11Dec2023 19:12:56.303257;[vs_0];[tid_0];[fw4_0];1:{policy} appi_clobs_observer_execute_app_parameters: called with clob 0x7fa708b108f8, app_id 60342666;
@;34216096.2229700;11Dec2023 19:12:56.303259;[vs_0];[tid_0];[fw4_0];1:{policy} appi_clobs_observer_execute_app_parameters: offset = 27, header: 'Restrict-Access-To-Tenants:';
@;34216096.2229701;11Dec2023 19:12:56.303260;[vs_0];[tid_0];[fw4_0];1:{policy} appi_clobs_observer_execute_app_parameters: header to inject: 'Restrict-Access-To-Tenants:<company-domain>';
But we are still facing issues with Office365 Consumer Tenant. No where in the debug logs, I see a hit for 60529910 or the Office365-Consumer application.
Yes, raised a TAC case for O365 Consumer Tenant. No help yet.
I have populated the following IDs and could enforce restrictions on Personal Outlook, Personal OneDrive, Personal Skype. only. Unfortunately, MS Teams, Word, Excel, PowerPoint still opens. If I can find out app_id for "Office Web Apps" application, I can restrict word, excel, powerpoint too.
Office365 60342666
Bing 10091087
Office365-enterprise 60523269
Outlook Web Access 60095716
Microsoft OneDrive-web 10051643
Office365 OneDrive-web 60519385
MSN-web 60461540
Microsoft Services 60521466
Skype 60096017
Microsoft Teams 60522962
Microsoft Account 10080892
Microsoft Services 60521466