Category: News
heat transfer between the air in the cavity and the surrounding solid layers
I am working on simulating heat transfer in a component that consists of multiple solid layers and an enclosed air cavity using the PDE Toolbox in MATLAB. My goal is to account for heat transfer mechanisms such as radiation and convection between the air in the cavity and the surrounding solid layers. is this possible with the pde toolbox? Is there a solutuion without modelling the air as a solid material?I am working on simulating heat transfer in a component that consists of multiple solid layers and an enclosed air cavity using the PDE Toolbox in MATLAB. My goal is to account for heat transfer mechanisms such as radiation and convection between the air in the cavity and the surrounding solid layers. is this possible with the pde toolbox? Is there a solutuion without modelling the air as a solid material? I am working on simulating heat transfer in a component that consists of multiple solid layers and an enclosed air cavity using the PDE Toolbox in MATLAB. My goal is to account for heat transfer mechanisms such as radiation and convection between the air in the cavity and the surrounding solid layers. is this possible with the pde toolbox? Is there a solutuion without modelling the air as a solid material? heat transfer, air cavity, pde MATLAB Answers — New Questions
Please help me understand output from discretize
I am trying to understand what discretize is doing, I have data ranging from 0 to 1 and want to bin it in bins of size .01.
X=[.01:.01:1] ; % – example data uniformly going form .01 to 1 in steps of .01
binEdges=[0:0.01:1]; %- the bind edges
binLocs=discretize(X,binEdges,’IncludedEdge’,’right’); %
%I would expect each bin gets 1 value so that bon locs is [1 2 3 4 5 6 7 8 9 10 etc… up to 100]
but what I get is binLocs=
1 2 3 4 5 7 7 8 9 10 11 12 13 14 16 16 17 19 19 20 22 22 23 25 25 26 27 28 30 30 31 32 33 34 35 37 37 38 39 40 41 43 43 44 45 46 47 49 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
why is is repeating some (for example the values .06 and .07 go in bin 7 and nothing in bin 6 ?
I’d like the first bin to b 0<=x<=.01 bin 2 .01<x<=.02 bin 3 .02<x<=.03 etc..
can someone explain why I am getting 2 values in some bins ( i.e. bin 7 and bin 22)
Thanks,
-JeffI am trying to understand what discretize is doing, I have data ranging from 0 to 1 and want to bin it in bins of size .01.
X=[.01:.01:1] ; % – example data uniformly going form .01 to 1 in steps of .01
binEdges=[0:0.01:1]; %- the bind edges
binLocs=discretize(X,binEdges,’IncludedEdge’,’right’); %
%I would expect each bin gets 1 value so that bon locs is [1 2 3 4 5 6 7 8 9 10 etc… up to 100]
but what I get is binLocs=
1 2 3 4 5 7 7 8 9 10 11 12 13 14 16 16 17 19 19 20 22 22 23 25 25 26 27 28 30 30 31 32 33 34 35 37 37 38 39 40 41 43 43 44 45 46 47 49 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
why is is repeating some (for example the values .06 and .07 go in bin 7 and nothing in bin 6 ?
I’d like the first bin to b 0<=x<=.01 bin 2 .01<x<=.02 bin 3 .02<x<=.03 etc..
can someone explain why I am getting 2 values in some bins ( i.e. bin 7 and bin 22)
Thanks,
-Jeff I am trying to understand what discretize is doing, I have data ranging from 0 to 1 and want to bin it in bins of size .01.
X=[.01:.01:1] ; % – example data uniformly going form .01 to 1 in steps of .01
binEdges=[0:0.01:1]; %- the bind edges
binLocs=discretize(X,binEdges,’IncludedEdge’,’right’); %
%I would expect each bin gets 1 value so that bon locs is [1 2 3 4 5 6 7 8 9 10 etc… up to 100]
but what I get is binLocs=
1 2 3 4 5 7 7 8 9 10 11 12 13 14 16 16 17 19 19 20 22 22 23 25 25 26 27 28 30 30 31 32 33 34 35 37 37 38 39 40 41 43 43 44 45 46 47 49 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
why is is repeating some (for example the values .06 and .07 go in bin 7 and nothing in bin 6 ?
I’d like the first bin to b 0<=x<=.01 bin 2 .01<x<=.02 bin 3 .02<x<=.03 etc..
can someone explain why I am getting 2 values in some bins ( i.e. bin 7 and bin 22)
Thanks,
-Jeff discretize, binning MATLAB Answers — New Questions
Learning Assistance
I am a student at Northcentral Technical College and I’m having a hard time understanding how to be successful in my chosen IT degree program. I’ve tried help from tutors and I’m just not getting IT apparently. I really have a passion and desire to become a Web Designer/Software Developer. I’m not a quitter, so can anyone help me before I fail out of school this semester?
I am a student at Northcentral Technical College and I’m having a hard time understanding how to be successful in my chosen IT degree program. I’ve tried help from tutors and I’m just not getting IT apparently. I really have a passion and desire to become a Web Designer/Software Developer. I’m not a quitter, so can anyone help me before I fail out of school this semester? Read More
When a teams meeting runs longer than schedule
Hello,
I’m just wondering if a Teams meeting would end if it runs longer than what it was scheduled through outlook. Got a few users who mainly used Zoom now being moved over to Teams and they are just curious.
Thanks in advance.
Hello, I’m just wondering if a Teams meeting would end if it runs longer than what it was scheduled through outlook. Got a few users who mainly used Zoom now being moved over to Teams and they are just curious. Thanks in advance. Read More
VLOOKUP Issue, But on one item in the lookup table
I am working on refreshing my memory of Excel, as I have been using Libre for a few years now. I am working on sample data that has a Discount level. I did some Pivot Tables and decided that I wanted the Discounts to be in order (low to high, not alpha), so I added a Discount Level column and loaded a vlookup formula / chart :
Discount BandDiscount LevelHigh3-HighMedium2-MediumLow1-LowNone0-None
Formula: =+VLOOKUP(E470,VLUPTables!$A$2:$B$5,2)
I went back and everything works but Low. I have looked for extra spaces – beginning and end. I have checked for 0 vs o, I have retyped Low. I have copied Low from the table itself. I have tried using ‘1-Low. I thought it would be a row array – but 0-None works! I must be missing something, but I am at a loss. I have even deleted and reloaded everything with the same results. Any help is appreciated.
I am working on refreshing my memory of Excel, as I have been using Libre for a few years now. I am working on sample data that has a Discount level. I did some Pivot Tables and decided that I wanted the Discounts to be in order (low to high, not alpha), so I added a Discount Level column and loaded a vlookup formula / chart : Discount BandDiscount LevelHigh3-HighMedium2-MediumLow1-LowNone0-NoneFormula: =+VLOOKUP(E470,VLUPTables!$A$2:$B$5,2) I went back and everything works but Low. I have looked for extra spaces – beginning and end. I have checked for 0 vs o, I have retyped Low. I have copied Low from the table itself. I have tried using ‘1-Low. I thought it would be a row array – but 0-None works! I must be missing something, but I am at a loss. I have even deleted and reloaded everything with the same results. Any help is appreciated. Read More
Power Automate template only for tenant
We disabled citizen developers in our tenant so each time they use one of the Microsoft Lists templates with flow, the flow would fail.
I’m wondering if I can create and save flows as templates using my connection references and have the templates available in our tenant only, so that any SharePoint sites owners may use these templates? If the users create a flow from these templates, would it still use their own credentials or would it use the connection references from the template?
We disabled citizen developers in our tenant so each time they use one of the Microsoft Lists templates with flow, the flow would fail.I’m wondering if I can create and save flows as templates using my connection references and have the templates available in our tenant only, so that any SharePoint sites owners may use these templates? If the users create a flow from these templates, would it still use their own credentials or would it use the connection references from the template? Read More
prevent other users info for guest users
Hello there,
In my case i use my sharepoint site (Support Tickets list) to track support tickets from my customers which are also my guest users of my tenant. But when they are on the list they see a round bordered head icon on the right top side of the list. When i hovered on this icon it gives the name who is online on the same list. I need to hide this name cause i dont want my customers to track the name of my other customers. Is there a way to hide this icon for guest users?
Hello there,In my case i use my sharepoint site (Support Tickets list) to track support tickets from my customers which are also my guest users of my tenant. But when they are on the list they see a round bordered head icon on the right top side of the list. When i hovered on this icon it gives the name who is online on the same list. I need to hide this name cause i dont want my customers to track the name of my other customers. Is there a way to hide this icon for guest users? Read More
Changing Booking Name and Reply Address
How do I change the Name and E-Mail Address associated with my bookings page / calendar?
How do I change the Name and E-Mail Address associated with my bookings page / calendar? Read More
Demystifying Exchange Online Provisioning: Architecture, Exchange Object Types, and Attributes
We wanted to demystify the process of syncing and provisioning of various recipient objects in Exchange Online. Some of this content might be already familiar to you but some will be new and will (hopefully) help you understand and troubleshoot most issues around Exchange objects provisioning.
Due to the extensiveness of the topic, this will be a series of blog posts instead of one, and to ensure there’s a way for everyone to understand the content, regardless of your experience, we will start with the basics.
Architecture Fundamentals
The simplest architecture when referring to Exchange on-premises is a ‘single forest’ topology, where you have your local Active Directory (AD) and the Microsoft Exchange organization in the same forest. Therefore, we have a single user object that is also Exchange-enabled.
Exchange Online has a separate instance of Active Directory like the concept of Resource Forest topology (which we are going to refer to as Exchange Online Directory Services) and differs from the single forest topology because Entra ID (formerly Azure Active Directory) is where authentication takes place for all user accounts. This means we have two Active Directories and therefore two user objects.
User accounts (and other mail-enabled objects) are synchronized between Entra ID and Exchange Online using processes known as ForwardSync and Dual Write. Objects in Exchange Online are linked to the ones in Entra ID via the ExternalDirectoryObjectID property that will contain the value of the ObjectID of the associated user account in Entra ID.
You will find that a similar design also applies to other workloads like SharePoint Online, Teams, and so on…
Now let’s introduce the Microsoft Exchange hybrid environment as a new element. A Microsoft Exchange hybrid environment can be quickly defined as a relationship between 2 Microsoft Exchange organizations with a synchronization between an on-premises Active Directory and Entra ID in place. Thanks to the magic of the Hybrid Configuration Wizard (HCW), this will behave as one organization.
HCW isn’t the only thing that makes a hybrid environment work. In fact, HCW will only configure both Exchange organizations to trust each other in many aspects to ensure that the different features work, but we still need the recipient objects to be synced between the two.
For that synchronization to take place, you need one more element in your topology, and that is Microsoft Entra Connect (this component changed its name several times, so you might know it as DirSync, AAD Sync or AAD Connect). Microsoft Entra Connect ensures that your objects are synced between your on-premises Active Directory and Entra ID. With the ‘Exchange Hybrid’ optional feature enabled (checked during the Microsoft Entra Connect configuration) we ensure that all of the Exchange properties any object might have, are included in the sync as well. From there, they are then automatically synced to Exchange Online Directory Service thanks to the ForwardSync and Dual Write processes we already mentioned.
So, ForwardSync and Dual Write form the synchronization engine we have in the service to keep the Entra ID and the Exchange Online Directory Services objects in sync, just like Entra Connect does. However, there’s a difference: while Entra Connect pushes changes to Entra ID, ForwardSync technically doesn’t push the changes from Entra ID to Exchange Online Directory Services, instead Exchange Online Directory Services will periodically query Entra ID and see if there are any changes that need to be synced, and if so, it will sync them.
Here’s a visual summarizing of all the pieces working together:
Object Types
Microsoft Exchange isn’t just about mailboxes, it also handles other objects like plain users that aren’t mail enabled, Mail-Enabled Users, groups, contacts, etc.
However, Exchange Online and Exchange on-premises differ in object types, and you may find some of them only available in one of those environments. Consider the image below as a summary where the left side shows Exchange on-premises object types, and the right side shows the Exchange Online ones:
While you can have a plain user on both sides, you are not going to find a remote mailbox object type in Exchange Online (at least not exposed to tenant admins), but you will in Exchange on-premises. The same applies to the Microsoft 365 Group showing up as a unified group in Exchange Online, while in Exchange on-premises it does not.
Another thing to consider is that even though you see the dynamic distribution groups on both sides, they are not synced by Entra Connect. Those in Exchange Online are pure cloud objects. The reason for this is quite simple. Dynamic distribution group membership is based on a particular filter, and if a dynamic distribution group was to be synchronized with the same filter, the membership would be different on both sides.
What defines the object type we might have on one side or the other? The answer is – attributes. Depending on the Microsoft Exchange Server version on-premises, one object might have more attributes than another.
Among the many attributes that make an object healthy, there are 3 specific ones that will define the object type, and those are the msExchRecipientDisplayType, msExchRecipientTypeDetails and msExchRemoteRecipientType, which will map to RecipientType, RecipientTypeDetails and RemoteRecipientType properties respectively. You’ll see those when you run cmdlets such as Get-Recipient, Get-MailUser or Get-RemoteMailbox:
Now that we’re talking about attributes: did you know that the only supported methods for creating or modifying an Exchange object are through Exchange Management Shell (EMS) and the Exchange Admin Center (EAC)? We don’t even support Set-ADUser even if it’s run from the EMS (unless explicitly under supervision of Microsoft support). The reason is because Set-ADUser, attribute editor, ADSIEdit or any 3rd party tool will just stamp the value you want on a specific attribute without validation while EMS and EAC will check if the value you’re attempting to stamp on a property is valid or in use by another object (email addresses are a perfect example). They will also make sure that any other required attributes are also changed (for example, enabling an archive by just stamping the ArchiveGuid is not everything that is needed to have archive working).
We are not going to go through all the mappings here, but you can see the most relevant ones below:
A MailUser in Exchange on-premises can either be a MailUser or a UserMailbox in Exchange Online (depending on whether it has an Exchange Online license assigned or not).
A RemoteMailbox object in Exchange on-premises is a sub-type of MailUser, however you won’t be able to list it by running a Get-MailUser. Use Get-RemoteMailbox instead. Ideally, you would end up seeing it as a mailbox in Exchange Online. Speaking of which, remember that not all mailboxes need to be licensed (shared or resource mailboxes), but regular mailboxes do, and if they don’t have a license assigned, you might not be able to see them as mailboxes, but as MailUsers instead. We’ll talk about this later.
You won’t see the Dynamic Distribution Groups being synced from Exchange on-premises to Exchange Online, so if you see a Dynamic Distribution Group on either side, that means the object is not synced but created on that side only, so don’t expect any changes applied to it to sync on the other.
Regarding Microsoft 365 Groups: Exchange on-premises doesn’t know about them at all, but if you have the Entra Connect Group Writeback feature enabled, it will create a mail-enabled Universal distribution group in Exchange on-premises for each Group. This is an optional feature you’ll have to manually enable in Entra Connect.
Provisioning
Let’s now jump into how provisioning works for the different object types in Exchange Online.
The easiest way to explain this is with Distribution or Security Groups. Let’s say you create a group with 3 members on-premises, and once Entra Connect syncs, it will be pushed to Entra ID and from there to Exchange Online Directory Services via Forwardsync/DualWrite. Sounds easy, right? Synchronizing a group with 3 members will go through sub-steps on Entra ID. One of them is called ‘normalize’, and that step will make sure to break one task into simpler ones.
Taking the group I just mentioned, the single operation will break into 2 different tasks: the group creation and adding the members to it. Adding members will also break into 3 actions, one for every user to be added add as a member of the group.
Provisioning mailboxes – things to note:
Source of Authority
Before we even start talking about mailbox provisioning in a Microsoft Exchange hybrid environment, we must understand the main advantage of this environment is to be able to create and manage all identities on-premises. To avoid falling into conditions where the same object could be updated in different directories, there must always be a side that will prevail over the other. This is known as Source of Authority (SOA) and in this environment type (hybrid, with Entra Connect synchronizing Exchange attributes) your on-premises directory will be the SOA (with very few exceptions). Keep this in mind from now on, as that will be key to understand certain behaviors.
30-day grace period
Whether we provision a new remote mailbox on-premises or migrate a mailbox that never had an Exchange Online license to Exchange Online, the service will allow a period of 30 days for the admins to assign an Exchange Online license to the user. Note that this is not a way to get 30 days of service for free, but to help customers with their own provisioning defined processes and give them some time to assign an Exchange Online license to a regular mailbox instead. Our recommendation is to ALWAYS assign a license as soon as you see the mailbox provisioned in Exchange Online, and in migration scenario, even before the move is injected.
Remote Routing Address and other properties
The next thing to know about is who is responsible for stamping the remote routing address (this is the @YourDomain.mail.onmicrosoft.com) on an Exchange on-premises recipient. Exchange on-premises will always be the one responsible for this depending on the following scenario:
For all users using Exchange on-premises:
The default email address policy is modified by the Hybrid Configuration Wizard (HCW) to include the YourDomain.mail.onmicrosoft.com address as a secondary address for all on-premises recipients. If this Email Address Policy is enabled, there’s no other policy with a higher preference that would match the object, and of course the recipient EmailAddressPolicyEnabled property is set to ‘True’, the address will show up under the ‘EmailAddresses’ property of the user (which maps to the ‘proxyaddresses’ AD attribute).
When a mailbox gets migrated to Exchange Online:
The ‘ExternalEmailAddress’ property for the on-premises user (which maps to ‘TargetAddress’ AD attribute) will be stamped with the remote routing address value (which should be present already in the EmailAddresses for the given user) by the Mailbox Replication Service (MRS) once the hybrid migration of on-premises mailbox completes.
When a remote mailbox is being provisioned from on-premises:
Regardless of how you provision the remote mailbox (either using the Enable-RemoteMailbox, New-RemoteMailbox or the EAC) you need to specify the ‘RemoteRoutingAddress’ mandatory parameter with the YourDomain.mail.onmicrosoft.com address, and this will be shown on the ExternalEmailAddress property and under EmailAddresses as a secondary address when you run the Get-RemoteMailbox cmdlet from your Exchange on-premises.
The remote routing address is important as it will allow other Exchange-related services like Autodiscover, Hybrid Mailflow (Transport) or Free-busy requests to be redirected to Exchange Online.
Now, don’t confuse the remote routing address (YourDomain.mail.onmicrosoft.com) with the Microsoft Online Email Routing Address – also known as MOERA – (YourDomain.onmicrosoft.com). While the remote routing address is stamped by Exchange on-premises, the MOERA will be stamped by Entra ID, except when you create the user in Entra ID directly without an Exchange Online license assigned at that very moment) in which case no MOERA will be stamped on the object).
Another important property is the LegacyExchangeDN which will be written back to the on-premises remote mailbox object as an X500 address when you have a mailbox in Exchange Online that is synced from on-premises.
The ExchangeGuid will be generated by the Microsoft Exchange organization that first creates the mailbox:
Exchange Online if the mailbox was provisioned from on-premises by running the New-RemoteMailbox, Enable-RemoteMailbox from the on-premises Exchange Management Shell, or creating an Exchange Online mailbox from the Exchange Admin Center.
Exchange on-premises, if you create a mailbox locally and then decide to migrate it to Exchange Online.
The ArchiveGuid property will always be generated by Exchange on-premises regardless of what Exchange organization will be hosting it (on-premises or online), and this will be synced to Exchange Online.
Any provisioning or changes in Exchange Online can take up to 24 hours. We do a very good job trying to make those almost instantly, but sometimes we may see some delays due to resources being consumed more than usual. See this article for more information and a link to a self-serve diagnostic to help you further.
And with that, we come to the end of part 1 of the provisioning series articles. Stay tuned for part 2!
Alberto Pascual Montoya and Ben Winzenz
Microsoft Tech Community – Latest Blogs –Read More
New Microsoft-compliant Contact Editor now available on Outlook Mobile
We are happy to announce the launch of the new contact editor in Outlook Mobile, designed to enhance your contact experience on both iOS and Android platforms. This editor enables users to seamlessly add and edit contacts in a compliant manner and will replace the use of the devices’ native editors in Outlook Mobile.
We have received feedback about compliance concerns in the previous native Android and iOS editors related to managing and enforcing Intune policies for contact editing in Outlook Mobile. Many users have also shared feedback about the inconsistent experience across different devices with the former editors.
You asked and we delivered!
We have heard your feedback and are thrilled to introduce a solution that brings several benefits to enrich your contact editing experience:
Compliance: Users can now efficiently manage their contacts in Outlook Mobile using the editor, while ensuring compliance with their chosen Microsoft Intune policies.
Coherence: Enjoy a consistent contact-editing experience across iOS and Android, as well as with the editors on Outlook.com and the new Outlook app for Windows.
Easy to organize: Categories offer an easy, flexible way to sort your contacts. Think of categories as tags that you can apply to group your contacts into meaningful clusters.
Note: Contacts previously created through the earlier native editors will remain accessible for viewing and editing within the Outlook mobile and web platforms.
How can you access the new Contact editor?
Once you have updated your Outlook Mobile app to the newest release, there are several ways to find your way to the Contact editor:
1.’New Contact’ in Contacts tab
Click on ‘Apps’ in the bottom panel to navigate to the Contacts tab. Then, click on ‘New Contacts’.
2. ‘Create’ in People section in Feed tab
Navigate to the Feeds tab from the bottom panel and then click on ‘Create+’.
3. People Card
Click on ‘Add to Contacts’ or ‘Edit Contact’ from a People Card.
4. ‘Scan a business card’ in People section in Feed tab (for Android users only)
Navigate to the Feeds tab from the bottom panel. Click on ‘Create+’ and choose ‘Scan Business Card’. Use the camera that pops up to upload a photo or take a new one of a physical business card. The card details will automatically appear pre-filled in the editor.
Let us know what you think!
We would love to hear your feedback! If you have any suggestions, questions, or issues you would like to report, please leave a comment below or email us at contacteditorfeedback@service.microsoft.com.
Microsoft Tech Community – Latest Blogs –Read More
Matlab running minimised using task scheduler influences image plots
Hi, I have been running a matlab script on a daily basis using windows task scheduler for the past few weeks and have noticed that the output image plots appear compressed (the arrows and contours are squished together, implying some sort of scale issue(?)) when compared with running the same script with matlab already running on my desktop. My script does specify the dimensions of the figure, but these seem to be ignored. Is there a way to correct for this? Related, if I can resolve the former issues, is there a way to force Task Scheduler to run matlab so that it is maximised (not behind the scene).
I’m using the following in Task scheduler to initiate my script:
matlab -r "cd(‘C:MatlabScripts’); run scriptname.m; pause(10)"
Thank you for any thoughts on this,
JonHi, I have been running a matlab script on a daily basis using windows task scheduler for the past few weeks and have noticed that the output image plots appear compressed (the arrows and contours are squished together, implying some sort of scale issue(?)) when compared with running the same script with matlab already running on my desktop. My script does specify the dimensions of the figure, but these seem to be ignored. Is there a way to correct for this? Related, if I can resolve the former issues, is there a way to force Task Scheduler to run matlab so that it is maximised (not behind the scene).
I’m using the following in Task scheduler to initiate my script:
matlab -r "cd(‘C:MatlabScripts’); run scriptname.m; pause(10)"
Thank you for any thoughts on this,
Jon Hi, I have been running a matlab script on a daily basis using windows task scheduler for the past few weeks and have noticed that the output image plots appear compressed (the arrows and contours are squished together, implying some sort of scale issue(?)) when compared with running the same script with matlab already running on my desktop. My script does specify the dimensions of the figure, but these seem to be ignored. Is there a way to correct for this? Related, if I can resolve the former issues, is there a way to force Task Scheduler to run matlab so that it is maximised (not behind the scene).
I’m using the following in Task scheduler to initiate my script:
matlab -r "cd(‘C:MatlabScripts’); run scriptname.m; pause(10)"
Thank you for any thoughts on this,
Jon automatically run script problem with plots MATLAB Answers — New Questions
Trouble with jsondecode() and jsonencode()
I have a JSON file. I am trying to test the MATLAB functions before using them. So I loaded it
str1 = fileread(‘json_filename1.json’);
mydata1 = jsondecode(str1)
str2 = jsonencode(mydata1)
fid = fopen(‘json_filename2.json’,’wt’)
fprintf(fid,str2)
fclose(fid)
Then I go to the online JSON file editor: https://jsoneditoronline.org/#left=local.jagoxe to load both files. I am able to load ‘json_filename1.json’ but I can’t load ‘json_filename2.json’ correctly. I got the following error message:
Failed to switch to "tree" mode because of Invalid JSON:
Parse error on line 1:
…,"errorDescription":"CreateACPath Execut
———————–^
Expecting ‘STRING’, ‘NUMBER’, ‘NULL’, ‘TRUE’, ‘FALSE’, ‘{‘, ‘[‘, got ‘undefined’
It looks like either jsondecode() or jsonencode() has something wrong.
Also, when I used strcmp(str1,str2), I saw a lot of difference between them.I have a JSON file. I am trying to test the MATLAB functions before using them. So I loaded it
str1 = fileread(‘json_filename1.json’);
mydata1 = jsondecode(str1)
str2 = jsonencode(mydata1)
fid = fopen(‘json_filename2.json’,’wt’)
fprintf(fid,str2)
fclose(fid)
Then I go to the online JSON file editor: https://jsoneditoronline.org/#left=local.jagoxe to load both files. I am able to load ‘json_filename1.json’ but I can’t load ‘json_filename2.json’ correctly. I got the following error message:
Failed to switch to "tree" mode because of Invalid JSON:
Parse error on line 1:
…,"errorDescription":"CreateACPath Execut
———————–^
Expecting ‘STRING’, ‘NUMBER’, ‘NULL’, ‘TRUE’, ‘FALSE’, ‘{‘, ‘[‘, got ‘undefined’
It looks like either jsondecode() or jsonencode() has something wrong.
Also, when I used strcmp(str1,str2), I saw a lot of difference between them. I have a JSON file. I am trying to test the MATLAB functions before using them. So I loaded it
str1 = fileread(‘json_filename1.json’);
mydata1 = jsondecode(str1)
str2 = jsonencode(mydata1)
fid = fopen(‘json_filename2.json’,’wt’)
fprintf(fid,str2)
fclose(fid)
Then I go to the online JSON file editor: https://jsoneditoronline.org/#left=local.jagoxe to load both files. I am able to load ‘json_filename1.json’ but I can’t load ‘json_filename2.json’ correctly. I got the following error message:
Failed to switch to "tree" mode because of Invalid JSON:
Parse error on line 1:
…,"errorDescription":"CreateACPath Execut
———————–^
Expecting ‘STRING’, ‘NUMBER’, ‘NULL’, ‘TRUE’, ‘FALSE’, ‘{‘, ‘[‘, got ‘undefined’
It looks like either jsondecode() or jsonencode() has something wrong.
Also, when I used strcmp(str1,str2), I saw a lot of difference between them. json MATLAB Answers — New Questions
Protect Sheet with Different User Permissions
Hello,
I am working on a workbook with a lot of information and a lot of users. I have a primary worksheet that I want to lock down, say that all the data is in the range of A1:G100 of Sheet1. I want to allow only a small portion of the users, call them Group A, to edit the contents of the primary worksheet. Adding rows, deleting rows, selecting cells and changing their values, working in the worksheet like there are no protections on it. Then I want the rest of the users, call them Group B, to be able to view the sheet and sort the data. Just sorting, not editing, adding, deleting, formatting, or anything other than sorting using filters. I’ve been struggling to come up with the right combination of Protect Sheet settings and Allow Edit Ranges and Permissions settings. If anyone could help with this, that would be great!
Summary
Group A: Edit cells, add/delete rows, do whatever they want with the worksheet
Group B: Only sort/use filters, nothing else
Hello, I am working on a workbook with a lot of information and a lot of users. I have a primary worksheet that I want to lock down, say that all the data is in the range of A1:G100 of Sheet1. I want to allow only a small portion of the users, call them Group A, to edit the contents of the primary worksheet. Adding rows, deleting rows, selecting cells and changing their values, working in the worksheet like there are no protections on it. Then I want the rest of the users, call them Group B, to be able to view the sheet and sort the data. Just sorting, not editing, adding, deleting, formatting, or anything other than sorting using filters. I’ve been struggling to come up with the right combination of Protect Sheet settings and Allow Edit Ranges and Permissions settings. If anyone could help with this, that would be great! SummaryGroup A: Edit cells, add/delete rows, do whatever they want with the worksheetGroup B: Only sort/use filters, nothing else Read More
New Blog | Migrate ADAL apps to MSAL with enhanced insights
By NehaGoel
We’re pleased to announce significant updates to the Sign-ins workbook in the Microsoft Entra admin center, a crucial tool for organizations transitioning from Azure Active Directory Authentication Libraries (ADAL) to Microsoft Authentication Libraries (MSAL). These updates aim to streamline the ADAL migration process by providing comprehensive insights into your ADAL-application-related data.
Why is this Important?
We announced ADAL end of life in June 2020 and stopped supporting any security updates as of June 2023—which means applications using ADAL can’t utilize the latest security features, leaving them vulnerable to future security threats. We strongly recommend migrating any application using ADAL to MSAL to improve the security posture and resilience of authentication and authorization of your client applications.
MSAL supports the latest security features for Microsoft Entra ID like managed identity, Continuous Access Evaluation (CAE), passkeys, and many more. The updated Sign-ins workbook is an essential tool in this transition, providing the necessary insights and data to make informed decisions to execute migration.
What’s new in the Sign-ins workbook?
The Sign-ins workbook is redesigned for admins needing a centralized and more detailed view of applications using ADAL within their tenant. These additional insights can help them identify, investigate, and validate the ADAL applications to successfully migrate to MSAL.
Here’s what you can expect with the latest enhancements:
Comprehensive sign-in log aggregation: The workbook now consolidates logs from various types of sign-in events, including interactive, non-interactive, and service principal sign-ins.
Enhanced data visualization: We updated the report with new aggregated metrics to enable an all-up view of sign-ins across ADAL applications. To aid in your specific analytical needs, the workbook supports the application of custom filters and queries. This flexibility enables you to focus on the information that matters most to your ADAL migration efforts.
Integration with Microsoft Entra recommendations: You can now directly access this Sign-Ins workbook from the ADAL to MSAL recommendation page to dive deep into the list of ADAL applications listed on the recommendation details page. To use the workbooks for Microsoft Entra ID, you need a Microsoft Entra ID tenant with a P1 license.
Read the full post here: Migrate ADAL apps to MSAL with enhanced insights
By NehaGoel
We’re pleased to announce significant updates to the Sign-ins workbook in the Microsoft Entra admin center, a crucial tool for organizations transitioning from Azure Active Directory Authentication Libraries (ADAL) to Microsoft Authentication Libraries (MSAL). These updates aim to streamline the ADAL migration process by providing comprehensive insights into your ADAL-application-related data.
Why is this Important?
We announced ADAL end of life in June 2020 and stopped supporting any security updates as of June 2023—which means applications using ADAL can’t utilize the latest security features, leaving them vulnerable to future security threats. We strongly recommend migrating any application using ADAL to MSAL to improve the security posture and resilience of authentication and authorization of your client applications.
MSAL supports the latest security features for Microsoft Entra ID like managed identity, Continuous Access Evaluation (CAE), passkeys, and many more. The updated Sign-ins workbook is an essential tool in this transition, providing the necessary insights and data to make informed decisions to execute migration.
What’s new in the Sign-ins workbook?
The Sign-ins workbook is redesigned for admins needing a centralized and more detailed view of applications using ADAL within their tenant. These additional insights can help them identify, investigate, and validate the ADAL applications to successfully migrate to MSAL.
Here’s what you can expect with the latest enhancements:
Comprehensive sign-in log aggregation: The workbook now consolidates logs from various types of sign-in events, including interactive, non-interactive, and service principal sign-ins.
Enhanced data visualization: We updated the report with new aggregated metrics to enable an all-up view of sign-ins across ADAL applications. To aid in your specific analytical needs, the workbook supports the application of custom filters and queries. This flexibility enables you to focus on the information that matters most to your ADAL migration efforts.
Integration with Microsoft Entra recommendations: You can now directly access this Sign-Ins workbook from the ADAL to MSAL recommendation page to dive deep into the list of ADAL applications listed on the recommendation details page. To use the workbooks for Microsoft Entra ID, you need a Microsoft Entra ID tenant with a P1 license.
Read the full post here: Migrate ADAL apps to MSAL with enhanced insights Read More
Business Central: Slow Change Dimension
Hi folks,
I need to apply a Slowly Changing Dimension (SCD) using Azure Databricks with data from an on-premise Business Central database. I want to build a medallion architecture.
I am bringing the tables to the bronze level by selecting data incrementally using the field _systemModifiedAt. For building the silver level, I want to perform a Merge using the field _systemId. Is this possible? Specifically, is _systemId a unique identifier for every record in all the tables of Business Central, allowing me to apply a Merge for SCD?
When a record changes in Business Central, does it produce a new record in the database table with the same _systemId but with updated information?
Many thanks!
Jorge.
Hi folks, I need to apply a Slowly Changing Dimension (SCD) using Azure Databricks with data from an on-premise Business Central database. I want to build a medallion architecture. I am bringing the tables to the bronze level by selecting data incrementally using the field _systemModifiedAt. For building the silver level, I want to perform a Merge using the field _systemId. Is this possible? Specifically, is _systemId a unique identifier for every record in all the tables of Business Central, allowing me to apply a Merge for SCD? When a record changes in Business Central, does it produce a new record in the database table with the same _systemId but with updated information? Many thanks!Jorge. Read More
MS Edge Morning Fog theme has a problem
I don’t know why the fonts look doubled when I use the Morning Fog theme.
I don’t know why the fonts look doubled when I use the Morning Fog theme. Read More
Changing Dates in a Column … and more lol
I wanted to change the date format in a column. There are a few issues; first is that presently, the column that contains dates, also has a time in each entry. So, I do not know how to remove the times, if they can be at all. Second, is that the date is presently not showing as yyyy-mm-dd. I followed the prompts to changing them to that, however it di not happen (!?) Is it because there is a time involved? There are 5000 rows, so I cannot do this manually. All suggestions and definitely a walk through would be awesome. Thank you.
I wanted to change the date format in a column. There are a few issues; first is that presently, the column that contains dates, also has a time in each entry. So, I do not know how to remove the times, if they can be at all. Second, is that the date is presently not showing as yyyy-mm-dd. I followed the prompts to changing them to that, however it di not happen (!?) Is it because there is a time involved? There are 5000 rows, so I cannot do this manually. All suggestions and definitely a walk through would be awesome. Thank you. Read More
Announcing quarantine release integration in MDO hunting experience!!
We are excited to introduce the new quarantine release integration within Microsoft Defender for Office 365 as part of the hunting experience. This enhancement allows Security Operators (SecOps) to address false positives more efficiently and with greater flexibility in Microsoft Defender for Office 365.
With this new capability, SecOps can now move quarantined messages to Inbox across hunting experiences – Threat Explorer, Advanced Hunting, Email summary panel, Email Entity Page, and custom detection.
SecOps team members can act on both single and quarantine messages in bulk. To act on a single message, use the Email Entity page, to act on multiple messages use Threat Explorer, Advanced hunting, custom detection rules in Defender XDR.
The previous workflow for false positive triage was cumbersome and required SecOps to go through approximately 5 different steps and switch tabs from hunting surfaces like Threat explorer and Advanced hunting. With this new functionality, these extra steps are no longer needed and SecOps can quickly release messages from where they are without losing context. This also allows SecOps teams to define and better filter on messages with custom queries and take release action directly from Threat explorer and Advanced hunting.
Additionally, SecOps can carry out a bulk quarantine release operation on more than 100 messages asynchronously. For best result, release remediation should be done in batches of 50,000 or fewer.
Some examples of how Threat explorer, email entity page/ email summary panel, Advanced hunting and API can deal with false positives effectively are given below.
SecOps can search for a False positive URL in threat explorer find related Quarantined messages and directly Move to inbox/release from Quarantine – while in Threat explorer
SecOps can search for a False positive URL in Advanced hunting that have been blocked/ Quarantined, find all messages quarantined based on the URL and threat type and directly trigger Move to inbox/release from Quarantine – while using Advance hunting in Microsoft Defender XDR.
EmailEvents
| where ThreatTypes contains “Phish” and LatestDeliveryLocation contains “Quarantine”
| join EmailUrlInfo on NetworkMessageId
| where Url in ( ‘http://contoso.com/.i‘)
| project Timestamp,NetworkMessageId,RecipientEmailAddress,Subject,DeliveryAction,LatestDeliveryLocation,Url,UrlCount, ReportId
SecOps can act on the quarantine release from Email entity page and Email Summary Panel –
Click on the Take actions button from the top right corner of the email entity page and this will open the Action wizard. Follow the steps to trigger “move to inbox/ release “action. Go to the Action center to view and approve your automated investigation and remediation tasks – Microsoft Defender XDR | Microsoft Learn.
Quarantine release through custom detection rules-
Email action with Microsoft Defender for Office 365 is natively integrated with custom detections in Microsoft Defender XDR. This means SecOps can easily write sophisticated kql queries to find any messages which got quarantined incorrectly and respond to these events and take release / move to inbox action even automatically. Please learn more about custom detection here.
Learn more:
Check out our documentation for more information on the email entity page and related actions.
Track email move and delete actions centrally in Action center
Previous blogs on Quarantine experience can be found part one version and part two version.
Do you have questions or feedback about Microsoft Defender for Office 365? Engage with the community and Microsoft experts in the Defender for Office 365 forum
Microsoft Tech Community – Latest Blogs –Read More
Generate sphere whose center is not at origin
How do I generate a sphere with center at [x = 4.26, y = 1.76, z = 1.62] with a radius of 0.25 units? The sphere should have 101 points. The output should look like following figure. In the figure, the blue markers are the first 51 points of the 101 points and the red markers are the remaining 50 points. Attached also find, .fig format of the required output. Below this figure, is my code. However, I am unable to reproduce the required figure. Can anyone please help?
I = imread(‘Sphere.png’);
imshow(I);
%Center of sphere
recPosition = [4.26 1.76 1.62];
rng(0,’twister’);
radius = 0.25;
%Number of points
nPoints = 100;
%Create array
test_xyz = zeros(101,3);
test_xyz(1,1) = recPosition(1);
test_xyz(1,2) = recPosition(2);
test_xyz(1,3) = recPosition(3);
radius = zeros(nPoints,1)+radius ;
azimuth = rand(size(radius)) * 2*pi;
elevation = (rand(size(radius)) .* pi)-pi/2;
[x,y,z] = sph2cart(azimuth,elevation,radius);
test_xyz(2:end,1) = test_xyz(1,1)+x;
test_xyz(2:end,2) = test_xyz(1,2)+y;
test_xyz(2:end,3) = test_xyz(1,3)+z;
figure
scatter3(test_xyz(:,1),test_xyz(:,2),test_xyz(:,3));How do I generate a sphere with center at [x = 4.26, y = 1.76, z = 1.62] with a radius of 0.25 units? The sphere should have 101 points. The output should look like following figure. In the figure, the blue markers are the first 51 points of the 101 points and the red markers are the remaining 50 points. Attached also find, .fig format of the required output. Below this figure, is my code. However, I am unable to reproduce the required figure. Can anyone please help?
I = imread(‘Sphere.png’);
imshow(I);
%Center of sphere
recPosition = [4.26 1.76 1.62];
rng(0,’twister’);
radius = 0.25;
%Number of points
nPoints = 100;
%Create array
test_xyz = zeros(101,3);
test_xyz(1,1) = recPosition(1);
test_xyz(1,2) = recPosition(2);
test_xyz(1,3) = recPosition(3);
radius = zeros(nPoints,1)+radius ;
azimuth = rand(size(radius)) * 2*pi;
elevation = (rand(size(radius)) .* pi)-pi/2;
[x,y,z] = sph2cart(azimuth,elevation,radius);
test_xyz(2:end,1) = test_xyz(1,1)+x;
test_xyz(2:end,2) = test_xyz(1,2)+y;
test_xyz(2:end,3) = test_xyz(1,3)+z;
figure
scatter3(test_xyz(:,1),test_xyz(:,2),test_xyz(:,3)); How do I generate a sphere with center at [x = 4.26, y = 1.76, z = 1.62] with a radius of 0.25 units? The sphere should have 101 points. The output should look like following figure. In the figure, the blue markers are the first 51 points of the 101 points and the red markers are the remaining 50 points. Attached also find, .fig format of the required output. Below this figure, is my code. However, I am unable to reproduce the required figure. Can anyone please help?
I = imread(‘Sphere.png’);
imshow(I);
%Center of sphere
recPosition = [4.26 1.76 1.62];
rng(0,’twister’);
radius = 0.25;
%Number of points
nPoints = 100;
%Create array
test_xyz = zeros(101,3);
test_xyz(1,1) = recPosition(1);
test_xyz(1,2) = recPosition(2);
test_xyz(1,3) = recPosition(3);
radius = zeros(nPoints,1)+radius ;
azimuth = rand(size(radius)) * 2*pi;
elevation = (rand(size(radius)) .* pi)-pi/2;
[x,y,z] = sph2cart(azimuth,elevation,radius);
test_xyz(2:end,1) = test_xyz(1,1)+x;
test_xyz(2:end,2) = test_xyz(1,2)+y;
test_xyz(2:end,3) = test_xyz(1,3)+z;
figure
scatter3(test_xyz(:,1),test_xyz(:,2),test_xyz(:,3)); sphere, sph2cart, radius MATLAB Answers — New Questions
Using Observation Weights / set WeightsVar
In "Credit Scorecard Modeling Using Observation Weights" there is an example of using the weights, but it is not clear how to link column ‘CustAge’ with column ‘Weight’?
If I set creditscorecard(data,’GoodLabel’,0,’IDVar’,’CustID’,’ResponseVar’,’status’,’PredictorVars’,{‘CustAge’,’CustIncome’},’WeightsVar’,’Weight’,’BinMissingData’,true) how can I know it is linked to variable ‘CustAge’?
What if I have weights for more variables (‘CustAge’, ‘CustIncome’)? How will I link CustAge to its own Weight and CustIncome to its own Weight?In "Credit Scorecard Modeling Using Observation Weights" there is an example of using the weights, but it is not clear how to link column ‘CustAge’ with column ‘Weight’?
If I set creditscorecard(data,’GoodLabel’,0,’IDVar’,’CustID’,’ResponseVar’,’status’,’PredictorVars’,{‘CustAge’,’CustIncome’},’WeightsVar’,’Weight’,’BinMissingData’,true) how can I know it is linked to variable ‘CustAge’?
What if I have weights for more variables (‘CustAge’, ‘CustIncome’)? How will I link CustAge to its own Weight and CustIncome to its own Weight? In "Credit Scorecard Modeling Using Observation Weights" there is an example of using the weights, but it is not clear how to link column ‘CustAge’ with column ‘Weight’?
If I set creditscorecard(data,’GoodLabel’,0,’IDVar’,’CustID’,’ResponseVar’,’status’,’PredictorVars’,{‘CustAge’,’CustIncome’},’WeightsVar’,’Weight’,’BinMissingData’,true) how can I know it is linked to variable ‘CustAge’?
What if I have weights for more variables (‘CustAge’, ‘CustIncome’)? How will I link CustAge to its own Weight and CustIncome to its own Weight? scorecard MATLAB Answers — New Questions