sharepoint online – Creating OOTB groups using SP pnp JS failed

I am using below script to create OOTB groups(member,visitor,owner) through SP PnP js in SharePoint Online.

(async () => {
    const owner1 = "i:0#.f|membership|Username@<tenant>.onmicrosoft.com";
    const copyRoleAssignments = false;
    const clearSubScopes = true;
    const ootbgroupCreation = await sp.web.createDefaultAssociatedGroups("Site Title",owner1,copyRoleAssignments,clearSubScopes);
   
  })().catch(console.log)   

front end – Storing failed states locally

I’m currently developing a web application and am struggling to think of a design for the front-end.

In the front-end the user can input 1-n values and it will be split up into 1-n API calls. The api does some processing for 2-10 seconds and stores it in the database if it is successful. Right now I just have it so that there is no update on the UI when submitted, and when the database changes the UI reflects that. This doesn’t help the user understand which inputs failed or are still loading.

One approach I was thinking of was to add to the UI immediately and if it’s successful delete it from the local state as it will render from the database state automatically. If it fails then we keep it in the local storage so it persists along refreshes. If on the refresh it detects the server state has some failed value from the local state then it will delete from the local state. Is this the standard approach or are there better designs for a system like this?

The one problem I’m seeing is that this may break the single source of truth principle.

azure – CustomScriptExtension failed with “Operation is not valid due to the current state of the object”

I’m using CustomScriptExtension with ManagedIentity and sometimes it fails with

"Failed to download all specified files. Exiting. Error Message: Operation is not valid due to the current state of
the object."rnrnMore information on troubleshooting is available at
https://aka.ms/VMExtensionCSEWindowsTroubleshoot "

What does this error really mean?

Unable to make azure continuous integration build pipeline due to Execution failed for task ‘:react-native-image-picker:testDebugUnitTest’

I am using “react-native”: “0.62.2” and my gradle settings look like,

buildToolsVersion = "28.0.3"
minSdkVersion = 23
compileSdkVersion = 28
targetSdkVersion = 28
glideVersion = "4.9.0"
kotlin_version = "1.3.50"
supportLibVersion = "28.0.0"

I have issues while puiding the project on azure CI pipeline

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:react-native-image-picker:testDebugUnitTest’.

There were failing tests. See the report at: file:///home/vsts/work/1/s/node_modules/react-native-image-picker/android/build/reports/tests/testDebugUnitTest/index.html

Please help me to fix this issue.

8 – Imagemagick error convert delegate failed `’cwebp’

i’m following this guide

I’ve installed Imagemagick, run

composer require drupal/imagemagick
drush en -y imagemagick

and all next steps.

After add convert to WEBP to specific image style, receive this error:

ImageMagick error 1: convert: delegate failed `'cwebp' -quiet -q %Q '%i' -o '%o'' @ error/delegate.c/InvokeDelegate/1919. [command: /Applications/MAMP/bin/apache2/bin/convert '/Applications/MAMP/htdocs/mysite/sites/default/files/2020-10/image.png' -resize 406x376! -crop 336x376+35+0! -quality 70 WEBP:'/Applications/MAMP/htdocs/mysite/sites/default/files/styles/image_336x376/public/2020-10/image.png.webp']

But if run this command in my Terminal:

/Applications/MAMP/bin/apache2/bin/convert '/Applications/MAMP/htdocs/mysite/sites/default/files/2020-10/image.png' -resize 406x376! -crop 336x376+35+0! -quality 70 WEBP:'/Applications/MAMP/htdocs/mysite/sites/default/files/styles/image_336x376/public/2020-10/image.png.webp'

convert correctly

My OS is Macos Catalina 10.15.7, i’ve installed yet webp with homebrew

iis 10 – IIS – Request filtering – failed request tracing not showing blocked file exentension

I have enabled the Failed Request Tracing in IIS 10. If I’m disabling the allow unlisted file name extensions within the request filtering, then the failed request logs are generated. I can only see the 404 status, but there is no information about the blocked extension.

ModuleName: RequestFilteringModule 
Notification: BEGIN_REQUEST
HttpStatus: 404 
HttpReason: Not Found 
HttpSubStatus: 7 
ErrorCode: (0x0) 

How can I get information which file extension has been blocked (to allow this extension)?

Windows 10 Backup Failed: Error code 0x81000019

The error message says,

A shadow copy could not be created. Please check “VSS” and “SPP” application event logs for more information.

Details: the writer experienced a non-transient error. If the backup process is retried, the error is likely to reoccur.

I have written a system image to my external drive once but this process has never completed.

I’m backing up to an 8TB (Windows says 7.28 TB) WD MyBook that currently has 5.98 TB free. (The only thing on it is the system image I wrote to it as soon as I bought it a week ago.) In “Manage Windows Backup disk space,” it reports the following:

Data file backup: 0 bytes
System image: 1.25 TB
Other Files: 50.32 GB
Free space: 5.98 TB
Total size: 7.28 TB

In Event Viewer, there are two seemingly related errors.

Windows Backup
Level: Error
Event ID: 4100
Backup did not complete successfully because a shadow copy could not be created. Free up disk space on the drive that you are backing up by deleting unnecessary files and then try again.
EventData:
A shadow copy could not be created. Please check “VSS” and “SPP” application event logs for more information. (0x81000019)
19000081980500004409000060090000420ED1665C2BEE174B64529CB14610EA71000000

SPP
Level: Error
Event ID: 16387
Writer ASR Writer experienced some error during snapshot creation. More info: System partition (partition marked “active”) is hidden or contains an unrecognized file system. Backup does not support this configuration. (0x80042416).
EventData:
ASR Writer
System partition (partition marked “active”) is hidden or contains an unrecognized file system. Backup does not support this configuration. (0x80042416)
The writer experienced a non-transient error. If the backup process is retried, the error is likely to reoccur. (0x800423F4)
System partition (partition marked “active”) is hidden or contains an unrecognized file system. Backup does not support this configuration. (0x80042416)
01000000C6120000A71200000000000042BEB7C511CAC619E59C92030000000000000000

System details:
OS: Windows 10 Home 64-bit (Version 10.0.18363 Build 18363)
CPU: Intel Core i5 @ 3.20GHz
RAM: 16.0GB
Motherboard: Gigabyte Technology Co. Ltd. H97-D3H-CF (SOCKET 0)
Graphics:
ROG PG248Q (1920×1080@144Hz)
HP 2159 (1920×1080@60Hz)
Intel HD Graphics 4600 (Gigabyte)
XenSource Citrix Indirect Display Adapter
2047MB NVIDIA GeForce GTX 960 (EVGA)
ForceWare version: 456.71
SLI Disabled
Storage:
Samsung 860 EVO 500GB (SATA SSD)
Toshiba HDWE140XZSTA 4TB (SATA HDD)
Samsung SSD 840 EVO 250GB (SATA SSD)
Western Digital WD My Book 25EE 8TB (USB)
Audio: Realtek High Definition Audio

command line – on the password prompt, the shell automatically adds a return after entering a character and displays authentication failed

logging in to an ubuntu 16.04 server via ssh. This has never happened before. The other user I asked seems unaffected by this. What could have happened? Also, when I try to enter my git credentials and press return, the shell replaces it with ^M, backspace with a ^?. When I open a tmux session, things work as they should.

printing – Can’t print – ‘Backend’ failed

Using a MBP running Catalina 10.15.6 I am unable to print to a networked Xerox printer. It discovers it just fine with Bonjour, connects, but when I print anything, it instantly pauses the printer, and in the printer job list dialog, it fails saying Ready to Print - 'Backend' failed, 2 pages.

I’ve tried re-adding the printer, Reset the printing system with the right-click in the printer list, rebooting the machine. I have an old iMac also running 10.15.6 which can print to it, so I know the printer works. Any other ideas?

security – Where does an iPhone store the number of failed password entries?

Background:

Recently I changed my password on my iPhone. I opted for an alphanumeric one for security. However thanks to the likes of FaceId I did not have to re-enter it for a while to the point, where I could no longer fully remember it. Eventually FaceId failed me and I was locked out. I tried various combinations of the passphrase that I did remember but to no avail. I searched the internet for an answer but found nothing more than a lot of blogspam articles, a forensic tool designed for governments with a price range in the four digits, and a bunch of shady websites, trying to sell me something.

Frustrated with the lack of useful information I opted for restoring from a backup. However all of this got me thinking:

Thought process:

If I knew where an iPhone stores the number of wrong entries I could use tools like checkra1n to access that particular file and alter it to reset the counter for false entries.

The iPhone cannot store this information with the rest of the user content as that part is encrypted, so it must be stored with information that is available at boot and hence accessible when rooting via checkra1n.

However the lack of public tools implies that accessing the number failed password entries is non-trivial. I could imagine the possibility of storing it in hardware, hence making it impossible to reset via jailbreaking but the existence of tools like GrayKey implies that there is some way to extract information out of the phone that allows you test password entries against it.

Question:

So my question is, is the location in which the number of failed passcode entries is stored known or are there at least hints that allow us to (roughly) deduce its location?